<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

var docw=0, doch=0;

function getViewport() {
	// the more standards compliant browsers (mozilla/netscape/opera/IE7) use window.innerWidth and window.innerHeight
	if (typeof window.innerWidth != 'undefined')
	{
		docw = window.innerWidth;
		doch = window.innerHeight;
	} 
	// IE6 in standards compliant mode (i.e. with a valid doctype as the first line in the document)
	else if (typeof document.documentElement != 'undefined'
	 && typeof document.documentElement.clientWidth !=
	 'undefined' && document.documentElement.clientWidth != 0)
	{
		docw = document.documentElement.clientWidth;
		doch = document.documentElement.clientHeight;
	}
	// older versions of IE
	else
	{
		docw = document.getElementsByTagName('body')[0].clientWidth;
		doch = document.getElementsByTagName('body')[0].clientHeight;
	}
}

function showVideo(v) {
	
	getViewport();
	var x=(docw/2)-((422)/2);
	var y=(doch/2)-((350)/2);
	
	var objX = document.getElementById('overlay').style
	objX.visibility='visible';
    objX.opacity = (80 / 100); 
    objX.MozOpacity = (80 / 100); 
    objX.KhtmlOpacity = (80 / 100); 
    objX.filter = "alpha(opacity=" + 80 + ")"; 
	
	//var objL = document.getElementById('loading');
	//objL.style.left=(x+168)+'px';
	//objL.style.top=(y+130)+'px';
	//objL.style.visibility="visible";
	
	var objX=document.getElementById('videoPlayer');	
	if (x<0) { x=0; }
	if (y<0) { y=0; }
	objX.style.left=x+'px';
	objX.style.top=y+'px';
	objX.style.visibility="visible";
	
	str = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="422" height="371" id="FLVPlayer">';
    str += '<param name="movie" value="FLVPlayer_Progressive.swf" />';
    str += '<param name="salign" value="lt" />';
    str += '<param name="quality" value="high" />';
    str += '<param name="scale" value="noscale" />';
    str += '<param name="wmode" value="transparent" />';
    str += '<param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Halo_Skin_3&streamName=videos/'+v+'&autoPlay=true&autoRewind=true" />';
    str += '<embed src="FLVPlayer_Progressive.swf" flashvars="&MM_ComponentVersion=1&skinName=Halo_Skin_3&streamName=videos/'+v+'&autoPlay=true&autoRewind=true" quality="high" scale="noscale" width="422" height="371" name="FLVPlayer" salign="LT" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" />';
	str += '</object>';
	
	var objX=document.getElementById('videoHolder');
	objX.innerHTML=str;
}

function hideVideo() {
	//document.getElementById('loading').style.visibility='hidden';
	document.getElementById('overlay').style.visibility='hidden';
	document.getElementById('videoPlayer').style.visibility='hidden';
	document.getElementById('videoHolder').innerHTML='';
}


function MM_CheckFlashVersion(reqVerStr,msg){
  with(navigator){
    var isIE  = (appVersion.indexOf("MSIE") != -1 && userAgent.indexOf("Opera") == -1);
    var isWin = (appVersion.toLowerCase().indexOf("win") != -1);
    if (!isIE || !isWin){  
      var flashVer = -1;
      if (plugins && plugins.length > 0){
        var desc = plugins["Shockwave Flash"] ? plugins["Shockwave Flash"].description : "";
        desc = plugins["Shockwave Flash 2.0"] ? plugins["Shockwave Flash 2.0"].description : desc;
        if (desc == "") flashVer = -1;
        else{
          var descArr = desc.split(" ");
          var tempArrMajor = descArr[2].split(".");
          var verMajor = tempArrMajor[0];
          var tempArrMinor = (descArr[3] != "") ? descArr[3].split("r") : descArr[4].split("r");
          var verMinor = (tempArrMinor[1] > 0) ? tempArrMinor[1] : 0;
          flashVer =  parseFloat(verMajor + "." + verMinor);
        }
      }
      // WebTV has Flash Player 4 or lower -- too low for video
      else if (userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 4.0;

      var verArr = reqVerStr.split(",");
      var reqVer = parseFloat(verArr[0] + "." + verArr[2]);
  
      if (flashVer < reqVer){
        if (confirm(msg))
          window.location = "http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash";
      }
    }
  } 
}
-->