var fadestyle;
function checkStyle(num){
	switch(num){
	case 1:	document.getElementById("popframe").src=getRootPath() + "/HelpDoc/wu.aspx";break;
	case 2:	document.getElementById("popframe").src=getRootPath() + "/HelpDoc/wu01.aspx";break;
	case 3:	document.getElementById("popframe").src=getRootPath() + "/HelpDoc/wu02.aspx";break;
	case 4:	document.getElementById("popframe").src=getRootPath() + "/HelpDoc/wu03.aspx";break;
	case 5:	document.getElementById("popframe").src=getRootPath() + "/HelpDoc/wu04.aspx";break;
	case 6:	document.getElementById("popframe").src=getRootPath() + "/HelpDoc/wu05.aspx";break;
	case 7:	document.getElementById("popframe").src=getRootPath() + "/HelpDoc/wu06.aspx";break;
	case 8:	document.getElementById("popframe").src=getRootPath() + "/HelpDoc/wu07.aspx";break;
	case 9:	document.getElementById("popframe").src=getRootPath() + "/HelpDoc/wu08.aspx";break;
	case 10:document.getElementById("popframe").src=getRootPath() + "/HelpDoc/wu09.aspx";break;
	case 11:document.getElementById("popframe").src=getRootPath() + "/HelpDoc/wu10.aspx";break;
	default : document.getElementById("popframe").src=getRootPath() + "/HelpDoc/wu01.aspx";break;	
    }
	for(var i=1;i<12;i++){		
		if(i==num){
			document.getElementById("popico"+i).style.background="url("+getRootPath()+"/images/tc-05.jpg)";
			document.getElementById("popli"+i).style.background="url("+getRootPath()+"/images/tc-06.jpg)";
			fadestyle =setInterval("JM_fade()",10);
			}	
			else{
			document.getElementById("popico"+i).style.background="url("+getRootPath()+"/images/tc-02.jpg)";
			document.getElementById("popli"+i).style.background="none";
			document.getElementById("popframe").filters.alpha.opacity=0;
			}
	}
}
function JM_fade(){
document.getElementById("popframe").filters.alpha.opacity+=10; 
if(document.getElementById("popframe").filters.alpha.opacity==100)clearInterval(fadestyle);		
}

function checkfirstStyle(num){
	switch(num){
	case 1:	document.getElementById("popframe").src=getRootPath() + "/HelpDoc/firstuser.aspx";break;
	case 2:	document.getElementById("popframe").src=getRootPath() + "/HelpDoc/firstuser01.aspx";break;
	case 3:	document.getElementById("popframe").src=getRootPath() + "/HelpDoc/firstuser02.aspx";break;
	case 4:	document.getElementById("popframe").src=getRootPath() + "/HelpDoc/firstuser03.aspx";break;
	default : document.getElementById("popframe").src=getRootPath() + "/HelpDoc/firstuser.aspx";break;	
    }
	for(var i=1;i<5;i++){		
		if(i==num){
			document.getElementById("popico"+i).style.background="url("+getRootPath()+"/images/tc-05.jpg)";
			document.getElementById("popli"+i).style.background="url("+getRootPath()+"/images/tc-06.jpg)";
			fadestyle =setInterval("JM_fade()",10);
			}	
			else{
			document.getElementById("popico"+i).style.background="url("+getRootPath()+"/images/tc-02.jpg)";
			document.getElementById("popli"+i).style.background="none";
			document.getElementById("popframe").filters.alpha.opacity=0;
			}
	}
}
function checkclassStyle(num){
	switch(num){
	case 1:	document.getElementById("popframe").src=getRootPath() + "/HelpDoc/online.aspx";break;
	case 2:	document.getElementById("popframe").src=getRootPath() + "/HelpDoc/online1.aspx";break;
	case 3:	document.getElementById("popframe").src=getRootPath() + "/HelpDoc/online2.aspx";break;
	case 4:	document.getElementById("popframe").src=getRootPath() + "/HelpDoc/online3.aspx";break;
	case 5:	document.getElementById("popframe").src=getRootPath() + "/HelpDoc/online4.aspx";break;
	case 6:	document.getElementById("popframe").src=getRootPath() + "/HelpDoc/online5.aspx";break;
	case 7:	document.getElementById("popframe").src=getRootPath() + "/HelpDoc/online6.aspx";break;
	case 8:	document.getElementById("popframe").src=getRootPath() + "/HelpDoc/online7.aspx";break;
	case 9:	document.getElementById("popframe").src=getRootPath() + "/HelpDoc/online8.aspx";break;
	case 10:	document.getElementById("popframe").src=getRootPath() + "/HelpDoc/online9.aspx";break;
	case 11:	document.getElementById("popframe").src=getRootPath() + "/HelpDoc/online10.aspx";break;
	default : document.getElementById("popframe").src=getRootPath() + "/HelpDoc/online.aspx";break;	
    }
	for(var i=1;i<12;i++){		
		if(i==num){
			document.getElementById("popico"+i).style.background="url("+getRootPath()+"/images/tc-05.jpg)";
			document.getElementById("popli"+i).style.background="url("+getRootPath()+"/images/tc-06.jpg)";
			fadestyle =setInterval("JM_fade()",10);
			}	
			else{
			document.getElementById("popico"+i).style.background="url("+getRootPath()+"/images/tc-02.jpg)";
			document.getElementById("popli"+i).style.background="none";
			document.getElementById("popframe").filters.alpha.opacity=0;
			}
	}
}
function checkmoreStyle(num){
	switch(num){
	case 1:	document.getElementById("popframe").src=getRootPath() + "/HelpDoc/index01.aspx";break;
	case 2:	document.getElementById("popframe").src=getRootPath() + "/HelpDoc/index02.aspx";break;
	case 3:	document.getElementById("popframe").src=getRootPath() + "/HelpDoc/index03.aspx";break;
	case 4:	document.getElementById("popframe").src=getRootPath() + "/HelpDoc/index05.aspx";break;		
	default : document.getElementById("popframe").src=getRootPath() + "/HelpDoc/index01.aspx";break;	
    }
	for(var i=1;i<5;i++){		
		if(i==num){
			document.getElementById("popico"+i).style.background="url("+getRootPath()+"/images/tc-05.jpg)";
			document.getElementById("popli"+i).style.background="url("+getRootPath()+"/images/tc-06.jpg)";
			fadestyle =setInterval("JM_fade()",10);
			}	
			else{
			document.getElementById("popico"+i).style.background="url("+getRootPath()+"/images/tc-02.jpg)";
			document.getElementById("popli"+i).style.background="none";
			document.getElementById("popframe").filters.alpha.opacity=0;
			}
	}
}

