
var waitInterval;
var MDelayTime=0;
function CourseOrDetailSwitch(obj){
    clearTimeout(waitInterval);
	
    if(obj=="classinfo"){
        waitInterval=window.setTimeout("onOverClassInfo()",MDelayTime);
    }
    else{
        waitInterval=window.setTimeout("onOverDetailInfo()",MDelayTime);
    }
}
function onOverClassInfo(){
    clearTimeout(waitInterval);
    var tempclass="classinfo";
    var tempdetail="detailinfo";
    document.getElementById(tempclass).className="s1";
    document.getElementById(tempdetail).className="s2";
    document.getElementById(tempclass+"1").style.display='block';
    document.getElementById(tempclass+"2").style.display='block';
    document.getElementById(tempdetail+"1").style.display='none';
    document.getElementById(tempdetail+"2").style.display='none';  
}
function onOverDetailInfo(){
    clearTimeout(waitInterval);
    var tempclass="classinfo";
    var tempdetail="detailinfo";
   
    document.getElementById(tempclass).className="b1";
     document.getElementById(tempdetail).className="b2";
    document.getElementById(tempclass+"1").style.display='none';
    document.getElementById(tempclass+"2").style.display='none';
    document.getElementById(tempdetail+"1").style.display='block';
    document.getElementById(tempdetail+"2").style.display='block';                 
}

function getbg(strID,num,sum)
	{
		GetObj(strID+num).className="bg";	
		
		for(var i=0;i<sum;i++)
		{
			if(num != i)
			{
				document.getElementById(strID+i).className="";
			}
		}
	}
	
	function getShow(strID,num,sum)
	{
			
		GetObj(strID+num).className="bg";	
		for(var i=0;i<sum;i++)
		{
			if(num != i)
			{
			    
				document.getElementById(strID+i).className="";
				document.getElementById(strID+i+i).className="vis";
		
			}
		}
		document.getElementById(strID+num+num).className="rc";
	
	}
	
	function GetObj(objName){
			if(document.getElementById){
				return eval('document.getElementById("' + objName + '")');
			}else if(document.layers){
				return eval("document.layers['" + objName +"']");
			}else{
				return eval('document.all.' + objName);
			}
		}


function ShowLogin(taobj) {
       document.all.hm1.style.display="none";
       document.all.hm2.style.display="none";
	taobj.style.display="";
	taobj.style.visibility="visible";

}
function ShowLogin2(taobj) {
       document.all.hm3.style.display="none";
       document.all.hm4.style.display="none";	   
	taobj.style.display="";
	taobj.style.visibility="visible";

}
function ShowLogin3(taobj) {
       document.all.hm5.style.display="none";
       document.all.hm6.style.display="none";	   
	taobj.style.display="";
	taobj.style.visibility="visible";

}
function ShowLogin4(taobj) {
       document.all.hm7.style.display="none";
       document.all.hm8.style.display="none";	   
	taobj.style.display="";
	taobj.style.visibility="visible";

}
function ShowLogin5(taobj) {
       document.all.hm9.style.display="none";
       document.all.hm10.style.display="none";	   
	taobj.style.display="";
	taobj.style.visibility="visible";

}

function ShowLogin6(taobj) {
       document.all.hm11.style.display="none";
       document.all.hm12.style.display="none";	   
	taobj.style.display="";
	taobj.style.visibility="visible";

}

function ShowLogin7(taobj) {
       document.all.hm13.style.display="none";
       document.all.hm14.style.display="none";	   
	taobj.style.display="";
	taobj.style.visibility="visible";

}

function ShowLogin8(taobj) {
       document.all.hm15.style.display="none";
       document.all.hm16.style.display="none";	   
	taobj.style.display="";
	taobj.style.visibility="visible";

}
function ShowLogin9(taobj) {
       document.all.hm17.style.display="none";
       document.all.hm18.style.display="none";	   
	taobj.style.display="";
	taobj.style.visibility="visible";

}
function ShowLogin10(taobj) {
       document.all.hm19.style.display="none";
       document.all.hm20.style.display="none";	   
	taobj.style.display="";
	taobj.style.visibility="visible";

}
function ShowLogin11(taobj) {
       document.all.hm21.style.display="none";
       document.all.hm22.style.display="none";	   
	taobj.style.display="";
	taobj.style.visibility="visible";

}
function ShowLogin12(taobj) {
       document.all.hm23.style.display="none";
       document.all.hm24.style.display="none";	   
	taobj.style.display="";
	taobj.style.visibility="visible";




}

function ShowLogin13(taobj) {
       document.all.hm25.style.display="none";
       document.all.hm26.style.display="none";	   
	taobj.style.display="";
	taobj.style.visibility="visible";

}

function ShowLogin14(taobj) {
       document.all.hm27.style.display="none";
       document.all.hm28.style.display="none";	   
	taobj.style.display="";
	taobj.style.visibility="visible";

}
function ShowLogin15(taobj) {
       document.all.hm29.style.display="none";
       document.all.hm30.style.display="none";	   
	taobj.style.display="";
	taobj.style.visibility="visible";

}

function ShowLogin16(taobj) {
       document.all.hm31.style.display="none";
       document.all.hm32.style.display="none";	   
	taobj.style.display="";
	taobj.style.visibility="visible";

}

function ShowLogin17(taobj) {
       document.all.hm33.style.display="none";
       document.all.hm34.style.display="none";	   
	taobj.style.display="";
	taobj.style.visibility="visible";

}

function ShowLogin18(taobj) {
       document.all.hm35.style.display="none";
       document.all.hm36.style.display="none";	   
	taobj.style.display="";
	taobj.style.visibility="visible";

}

function ShowLogin19(taobj) {
       document.all.hm37.style.display="none";
       document.all.hm38.style.display="none";	   
	taobj.style.display="";
	taobj.style.visibility="visible";

}
function ShowLogin20(taobj) {
       document.all.hm39.style.display="none";
       document.all.hm40.style.display="none";	   
	taobj.style.display="";
	taobj.style.visibility="visible";

}
function ShowLogin21(taobj) {
       document.all.hm41.style.display="none";
       document.all.hm42.style.display="none";	   
	taobj.style.display="";
	taobj.style.visibility="visible";

}
