function goFullscreen(page,width,height) {
		var URL1=page;
		var windowNamen="mainflashwindow";
		var browserName=navigator.appName;
		var operatingSystem=navigator.platform;
		var version = parseFloat(navigator.appVersion);
		var ver=navigator.appVersion;
		// Netscape check version 4.0+ on Win
		if(browserName.indexOf("Netscape")!=-1 && version>=4.0 && operatingSystem.indexOf("Mac")!=-1){
		 var left=(window.screen.availWidth-width)/2;
		 var top=(window.screen.availHeight-height)/2;
		 window.open(URL1,windowNamen,'titlebar=no,top='+top+',left='+left+',width='+width+',height='+height);
		 }
		// MSIE Mac check
		else if(browserName.indexOf("Microsoft Internet Explorer")!=-1 && operatingSystem.indexOf("Mac")!=-1){
		 var left=(window.screen.availWidth-width)/2;
		 var top=(window.screen.availHeight-height)/2;
		 window.open(URL1,windowNamen,'titlebar=no,top='+top+',left='+left+',width='+width+',height='+height);
		 }
		// Netscape Mac check
		else if(browserName.indexOf("Netscape")!=-1 && operatingSystem.indexOf("Mac")!=-1){
		 var left=(screen.width-width)/2;
		 var top=(screen.height-height)/2;
		 window.open(URL1,windowNamen,'width='+width+',height='+height+',top='+top+',left='+left);
		 }
		// MSIE Windows
		else if(browserName.indexOf("Microsoft Internet Explorer")!=-1 && operatingSystem.indexOf("Win")!=-1){
		 height=parseInt(height)+20;
		 var left=(window.screen.availWidth-width)/2;
		 var top=(window.screen.availHeight-height)/2;
		 window.open(URL1,windowNamen,'titlebar=yes,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,top='+top+',left='+left+',width='+width+',height='+height);
		 }
		// Netscape Windows
		else if(browserName.indexOf("Netscape")!=-1 && operatingSystem.indexOf("Win")!=-1){
		 var left=(screen.width-width)/2;
		 var top=(screen.height-height)/2;
		 window.open(URL1,windowNamen,'width='+width+',height='+height+',top='+top+',left='+left);
		 }
		else window.open(URL1,windowNamen);
	}

if(document.getElementById("fullscreen")!=null){
	document.getElementById("fullscreen").onclick=function(){
		goFullscreen(document.getElementById("fullscreen").getAttribute("href"),1020,720);
		return false;
	}
}