<!--
if (document.getElementById){
document.write('<style type="text/css">\n')
document.write('.submenu{display: none;}\n')
document.write('</style>\n')
}


function SwitchMenu(obj){
	if(document.getElementById){
	var el = document.getElementById(obj);
	var co = document.getElementById("container");
	var ar = document.getElementById("linkList").getElementsByTagName("div");
		if(el.style.display != "block"){
			for (var i=0; i<ar.length; i++){
				if (ar[i].className=="submenu")
				ar[i].style.display = "none";
			}
			el.style.display = "block";
			co.style.height = "780";

		}else{
			el.style.display = "none";
			co.style.height = "100";
			/*location.reload()*/
		}
	}
}
function fixmacie(classname){        
	var divs=document.getElementsByTagName("div");   
  		for(var d=0; d < divs.length;d++){     
 			if(divs[d].className.indexOf(classname)==0){    
 				divs[d].innerHTML+= "<div class='mac-clearfix'> </div>"; 
/* The above html tags get added to the end of the cleared container if the browser is IE/mac. */  
	 	}
	} 
}
function init(){
/* Check if the browser is IE5 Mac */
   if( navigator.appVersion.indexOf('Mac')!=-1 && document.all){     
/* Pass the class name on the container to fixmacie (must be the FIRST classname if multiple classnames are used on the div!) */    
 		fixmacie("clearfix");  
 	}
 }
/* start the ball rolling when the page loads */
window.onload=init;

function popup(theURL,winName,features) {
  window.open(theURL,winName,features);
}
function popVideo(playermode,movie) {
	var screenW, screenH, posX, posY, popupHeight, popupWidth;
	popupHeight = 330;
	popupWidth = 530;
	if (parseInt(navigator.appVersion)>3) {
		screenW = screen.width;
		screenH = screen.height;
		posX=Math.floor((screenW-popupWidth)/2);
		posY=Math.floor((screenH-popupHeight)/2);
	}
	else {
		posX=0;
		posY=0;
	}
	
	configStr='width='+popupWidth+',height='+popupHeight+',screenX='+posX+',screenY='+posY+',top='+posY+',left='+posX+',scrollbars=no,resizable=no,toolbar=no,menubar=no';
	popupWin = window.open(playermode+'?'+movie,'22minutes',configStr);
	popupWin.focus();
}
//-->
