function killLayer(layer1, layer2) {
document.getElementById(layer1).style.visibility = "hidden";
document.getElementById(layer2).style.visibility = "visible";
}
function nokillLayer(layer1, layer2) {
if(document.getElementById(layer1).style.visibility != "visible")
{
document.getElementById(layer1).style.visibility = "visible";
document.getElementById(layer2).style.visibility = "hidden";		
}
else
{
document.getElementById(layer1).style.visibility = "hidden";
document.getElementById(layer2).style.visibility = "visible";
}
}
function playVid(vidId, divname) {
   vidPaneID = document.getElementById(divname);
      if (vidPaneID.style.display=='block') {
         vidPaneID.style.display='none';
         vidPaneID.innerHTML=''; 
      } else {
         vidPaneID.style.display='block';
         var vidstring ='<center><embed enableJavascript="false" allowScriptAccess="always"';
         vidstring+=' allownetworking="internal" type="application/x-shockwave-flash"';
         vidstring+='  src="http://www.youtube.com/v/'+vidId+'&autoplay=1" ';
         vidstring+=' wmode="transparent" height="250" width=400"></center>';
         vidPaneID.innerHTML+=vidstring;
      }
}

function playVid2(vidId, divname) {
   vidPaneID = document.getElementById(divname);
      if (vidPaneID.style.visibility=='visible') {
         vidPaneID.style.visibility='hidden';
         vidPaneID.innerHTML=''; 
      } else {
         vidPaneID.style.visibility='visible';
var vidstring ='<center><embed enableJavascript="false" allowScriptAccess="always"';
vidstring+=' style="height:326px; width:400px;" allownetworking="internal" type="application/x-shockwave-flash"';
vidstring+='  src="http://video.google.com/googleplayer.swf?docId='+vidId+'&hl=en&autoplay=1" ';
vidstring+=' id="VideoPlayback" wmode="transparent" height="400" width=500"></center>';

vidPaneID.innerHTML+=vidstring;
      }
}

function playVid4(vidId, divname) {
   vidPaneID = document.getElementById(divname);
      if (vidPaneID.style.visibility=='visible') {
         vidPaneID.style.visibility='hidden';
         vidPaneID.innerHTML=''; 
      } else {
         vidPaneID.style.visibility='visible';
var vidstring ='<center><embed enableJavascript="false" allowScriptAccess="always"';
vidstring+=' style="height:326px; width:400px;" allownetworking="internal" type="application/x-shockwave-flash"';
vidstring+='  src="http://video.google.com/googleplayer.swf?docId='+vidId+'&hl=en&autoplay=1" ';
vidstring+=' id="VideoPlayback" wmode="transparent" height="400" width=500"></center><a href="javascript:nokillLayer(\'v4start\', \'v4started\'); playVid4(\'-4300652292547813517\', \'v4play\'); ">Close</a>';

vidPaneID.innerHTML+=vidstring;
      }
}

	  
function playVid3(vidId) {
var vidPaneID = document.getElementById('vidPane3');

var vidstring ='<center><embed enableJavascript="false" allowScriptAccess="always"';
vidstring+=' allownetworking="internal" type="application/x-shockwave-flash"';
vidstring+='  src="http://www.youtube.com/v/'+vidId+'" ';
vidstring+=' wmode="transparent" height="350" width=425"></center>';

vidPaneID.innerHTML+=vidstring;
}


function playVid3(vidId) {
var vidPaneID = document.getElementById('vidPane2');

var vidstring ='<center><embed enableJavascript="false" allowScriptAccess="always"';
vidstring+=' style="height:400px; width:500px;" allownetworking="internal" type="application/x-shockwave-flash"';
vidstring+='  src="http://video.google.com/googleplayer.swf?docId='+vidId+'&hl=en&autoplay=1" ';
vidstring+=' id="VideoPlayback" wmode="transparent" height="400" width=500"></center>';

vidPaneID.innerHTML+=vidstring;
}