
// Detect width and height of browser window

getViewportWidth = function() {
  var width = 0;
  if( document.documentElement && document.documentElement.clientWidth ) {
    width = document.documentElement.clientWidth;
  }
  else if( document.body && document.body.clientWidth ) {
    width = document.body.clientWidth;
  }
  else if( window.innerWidth ) {
    width = window.innerWidth - 18;
  }
  return width;
};

getViewportHeight = function() {
  var height = 0;
  if( document.documentElement && document.documentElement.clientHeight ) {
    height = document.documentElement.clientHeight;
  }
  else if( document.body && document.body.clientHeight ) {
    height = document.body.clientHeight;
  }
  else if( window.innerHeight ) {
    height = window.innerHeight - 18;
  }
  return height;
};


function runonend()
{
showcontrols='yes';
theflvvolume='100';
thezindex='101';
padx='0';
pad='0';
mwidth='968';
mheight='580';
videox='250'; 
videoy='20'; 
anchorlocation='bottomright';
thecontrollerx='820';
thecontrollery='450';
alignvideo='absolute';
theflv='vsp_marlyns_laptop.flv';
autoforward='';
showvideo();
}


function playvideo1()
{
showcontrols='yes';
theflvvolume='100';
thezindex='103';
padx='100';
mwidth='370';
mheight='364';
videox='0'; 
videoy='0'; 
alignvideo='bottomright';
thecontrollerx='auto';
thecontrollery='auto';
theflv='vsp_jodi_home.flv';
showvideo();
}

function playvideo2()
{
showcontrols='yes';
theflvvolume='100';
thezindex='101';
padx='0';
pad='0';
mwidth='968';
mheight='580';
videox='250'; 
videoy='20'; 
anchorlocation='bottomright';
thecontrollerx='820';
thecontrollery='450';
alignvideo='absolute';
theflv='vsp_marlyns_laptop.flv';
showvideo();
}

function playvideo3()
{
showcontrols='yes';
theflvvolume='100';
thezindex='103';
padx='0';
videox='0';
videoy='0';
thecontrollerx='-10';
thecontrollery='auto';
mwidth='600'
mheight='600';
alignvideo='bottomleft';
theflv='vsp_amys_framing.flv';
videobg='';
showvideo();
}


function playvideo4()
{
showcontrols='yes';
theflvvolume='100';
thezindex='103';
padx='0';
videox='0';
videoy='0';
thecontrollerx='320';
thecontrollery='auto';
mwidth='650'
mheight='420';
alignvideo='bottomright';
theflv='vsp_sally_intro.flv';
videobg='';
showvideo();
}





// Detect width and height of browser window

getViewportWidth = function() {
  var width = 0;
  if( document.documentElement && document.documentElement.clientWidth ) {
    width = document.documentElement.clientWidth;
  }
  else if( document.body && document.body.clientWidth ) {
    width = document.body.clientWidth;
  }
  else if( window.innerWidth ) {
    width = window.innerWidth - 18;
  }
  return width;
};

getViewportHeight = function() {
  var height = 0;
  if( document.documentElement && document.documentElement.clientHeight ) {
    height = document.documentElement.clientHeight;
  }
  else if( document.body && document.body.clientHeight ) {
    height = document.body.clientHeight;
  }
  else if( window.innerHeight ) {
    height = window.innerHeight - 18;
  }
  return height;
};




function starthighlighters ()
{

if (window.h1_enabled) {setTimeout("nexthighlight1()",h1_wait)};
if (window.h2_enabled) {setTimeout("nexthighlight2()",h2_wait)};
if (window.h3_enabled) {setTimeout("nexthighlight3()",h3_wait)};
if (window.h4_enabled) {setTimeout("nexthighlight4()",h4_wait)};
if (window.h5_enabled) {setTimeout("nexthighlight5()",h5_wait)};
}

function nexthighlight1 () { placehighlighter("h1",highlighter1,h1_x,h1_y,h1_stay); }
function nexthighlight2 () { placehighlighter("h2",highlighter2,h2_x,h2_y,h2_stay); }
function nexthighlight3 () { placehighlighter("h3",highlighter3,h3_x,h3_y,h3_stay); }
function nexthighlight4 () { placehighlighter("h4",highlighter4,h4_x,h4_y,h4_stay); }
function nexthighlight5 () { placehighlighter("h5",highlighter5,h5_x,h5_y,h5_stay); }



answeryes='';
answeryestext='';
answeryeswait='';
clicktoplaywait='';
waittime='1000';
videobuffer='0';
alignvideo='bottomleft';
cuepointaction='';
bigplay='http://code.javahd.com/container/bigplay1.swf';
bigplayx='890';
bigplayy='500';
bwidth='100';
bheight='100';
padx='0';
pady='0';
anchorlocation='bottomright';
headline='Welcome to VideoSpokesPeople';
pad='0';
mwidth='380';
mheight='400';
loopflv='';
scaleflv='no';
scalecanvas='no';
videox='0'; 
videoy='0'; 
autostart='yes';
playalways='yes';
showevery='1';
showcontrols='yes';
loaderalpha='0';
maximpressions='1000000';
authorizedon='any';
mcimage1='http://code.javahd.com/buttons/button_playvideo_blank.swf';
mcimage='http://code.javahd.com/buttons/button_playvideo_blank.swf';
videobg='';
videobgx='0';
videobgy='250';
videofg='';
videofgwait='2000';
videofgx='680';
videofgy='100';
videomusic='';
videomusicvolume='10';
theurltarget='_self';
theurl='';
theurltype='l';
clicktext='';
clickgraphic='';
containerbase='http://code.javahd.com/container/';
flvbase='promos';
theflv='vsp_lauren_home.flv';
theflvvolume='100';
thenextflv='';
autoforward='yes';
autoforwardtype='j';
autorun='';
autorundelay='100';
thecontainer='container.swf';
thecontrollerx='auto';
thecontrollery='auto';
thecontroller='http://code.javahd.com/container/controllerstop.swf';
thecontrolleralpha='100';
freezeonend='';
freezeonendwait='5000';
chatbutton='';
playbuttononend='';
versioncheck='';
speedlimit='500';
autodim='';
checkspeed='';
translate='';
translateflv='vsp_linda_intro.flv';

// Do not edit below this line

var scripts = document.getElementsByTagName("SCRIPT")
var script = scripts[scripts.length-1].src
var scriptName = script.match(/[^\\|^\/]+\.\w+\w?$/)




document.write('<scr' + 'ipt src="http://code.javahd.com/codemain/swfobject_2_2.js" type="text/JavaScript"><\/scr' + 'ipt>');
document.write('<scr' + 'ipt src="http://code.javahd.com/codemain/videosp_20.js" type="text/JavaScript"><\/scr' + 'ipt>');
