//µã»÷°´Å¥ ½»»»Í¼Æ¬
function switchCell(n) {
	nc=document.getElementsByName("panelcell"); 
	cg=document.getElementsByName("tabtable"); 
	if(nc){
		for(i=0;i<nc.length;i++){
			nc.item(i).className="off1";
			cg.item(i).style.display = "none";
		}
		nc.item(n-1).className="on1";
		cg.item(n-1).style.display = "inline";
	}
}

function switchCell1(n) {
	nc=document.getElementsByName("panelcell1"); 
	cg=document.getElementsByName("tabtable1"); 
	if(nc){
		for(i=0;i<nc.length;i++){
			nc.item(i).className="off2";
			cg.item(i).style.display = "none";
		}
		nc.item(n-1).className="on2";
		cg.item(n-1).style.display = "inline";
	}
}

function switchCell2(n) {
	nc=document.getElementsByName("panelcell2"); 
	cg=document.getElementsByName("tabtable2"); 
	if(nc){
		for(i=0;i<nc.length;i++){
			nc.item(i).className="off3";
			cg.item(i).style.display = "none";
		}
		nc.item(n-1).className="on3";
		cg.item(n-1).style.display = "inline";
	}
}


function AddDomain() {
    document.login.LoginName.value = document.login.Account.value + "@haedu.gov.cn";
}

function qiehuan(num){
		for(var id = 0;id<=12;id++)
		{
			if(id==num)
			{
				document.getElementById("qh_con"+id).style.display="block";
				document.getElementById("mynav"+id).className="nav_on";
			}
			else
			{
				document.getElementById("qh_con"+id).style.display="none";
				document.getElementById("mynav"+id).className="";
			}
		}
	}

