var oldOpen = 0;
function OpenOrClose(CID)
{
	if (document.getElementById('Con_'+CID).style.display=="none")
	{
		if(oldOpen != 0){
			document.getElementById('Con_'+oldOpen).style.display = "none";
		}
		oldOpen = CID;
		document.getElementById('Con_'+CID).style.display = "";
	}else{
		document.getElementById('Con_'+CID).style.display = "none";
		oldOpen = 0;
	}

}


    function check()
    {
    var loginid = document.getElementById("login").value;
    
    var pwd = document.getElementById("pwd").value;
    
    window.open("login.aspx?id="+ loginid + "&p="+ pwd+"");
    }
    
    function select()
    {
        var slect=document.getElementById("select").value;
        window.open("");
    }   
    

function menu(){
var li=document.getElementById("nav").getElementsByTagName("li");
for(var i=0;i<li.length;i++){
li[i].onmouseover=function(){
this.className="cur";}
li[i].onmouseout=function(){
this.className="";}
}
window.onerror = new Function("return true;");
}





//function AClass(obj){document.getElementById("subb"+obj).className="cur";}


