function OpenWindow1(url)
{
	var varRightWidth=800
	var varRightHeight=580
	if (screen.availWidth>800){
		varRightWidth=screen.availWidth;
		varRightHeight=screen.availHeight;
	}
	else{
	   varRightWidth=screen.availWidth-10;
	   varRightHeight=screen.availHeight-30;
	}
	window.open(url,"newwindow","titlebar=0,top=0,left=0,width="+ varRightWidth +",height="+ varRightHeight);
}
//Ä£Äâ¿¼³¡
function OpenWindow(url)
{ 
location.href=url;
} 

function Openex(installdir,id)
{
	//location.href=installdir+'confirm.asp?id='+id;
window.open(installdir+'exam/?id='+id,'new','');
//window.showModalDialog(installdir+'confirm.asp?id='+id, '', 'dialogWidth:400px;dialogHeight:200px;status:no;help:no ') 
}

function bandc(url)
{
window.open(url,'','');
self.close();
}
function openre(url,w,h)
{
window.open(url,"","titlebar=no,toolbar=no,left=350,top=250,location=no,directories=no,status=no,menubar=no,scrollbars=no,width="+w+",height="+h);
}

var version = "other"
browserName = navigator.appName;   
browserVer = parseInt(navigator.appVersion);

if (browserName == "Netscape" && browserVer >= 3) version = "n3";
else if (browserName == "Netscape" && browserVer < 3) version = "n2";
else if (browserName == "Microsoft Internet Explorer" && browserVer >= 4) version = "e4";
else if (browserName == "Microsoft Internet Explorer" && browserVer < 4) version = "e3";


function marquee1(w,h)
{
	if (version == "e4")
	{
		document.write("<marquee behavior=scroll direction=up width="+w+" height="+h+" scrollamount=1 scrolldelay=50 onmouseover='this.stop()' onmouseout='this.start()'>")
	}
}

function marquee2()
{
	if (version == "e4")
	{
		document.write("</marquee>")
	}
}

