var DAT
function Index()
{
	if (screen.height)
	{
		if (screen.width)
		{
			var i=screen.width+"x"+screen.height,f1,f2,f3,f4
			switch (i)
			{
			   case "640x480"  : f1=7 ; f3=560; break;
			   case "800x600"  : f1=8 ; f3=700; break;
			   case "1024x768" : f1=9 ; f3=700; break;
			   case "1152x864" : f1=10; f3=700; break;
			   case "1280x1024": f1=11; f3=800; break;
			   default : f1=10; f3=700;
			}
			f2=f1+3;if(f1<10)f1="0"+f1;if(f2<10)f2="0"+f2;f4="0"
			if(navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"] && navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin && navigator.plugins && navigator.plugins["Shockwave Flash"])
				{f4="1"}
			else if(document.all&&FlashMode){f4="1"}
			if(f4==1){
				DAT="DAT="+f1+""+f2+""+f3+""
				if (Act==""){
					document.getElementById('LOGOINTRO').style.visibility="visible"
					document.LOGOINTRO.style.visibility="visible"
					}
				else {Go(Act.split("X")[1])}
			}
			else {// show No Flash Message
				document.LOGOINTRO.style.height="0"
				document.getElementById('LOGOINTRO').style.height="0"
				document.getElementById('FlashTable').style.height="100%"
				document.getElementById('FlashTable').style.lineHeight="100%"
				document.getElementById('FlashTable').style.visibility="visible"}
		}else{alert("Screen Width Detection Error...")}
	}else{alert("Screen Height Detection Error...")}
}
function Go(Lang)
{
	// this request eliminates Url query string from user browser
	// send data to website
	document.getElementById("DataFrame").src="Intro.htm?"+DAT+Lang.toUpperCase()+Act
}
function RePlace()
{
	if(Act.indexOf("-")>=0){
		parent.location.replace(Act.split("X")[2].split("-")[0]+".htm")
	}
	else {
		parent.location.replace("Intro.htm")
	}
}