function mouseOver(str1, lang, root){
	if (lang=='chinese'){
		eval("document.images['"+str1+"'].src='"+root+"images/button_"+str1+"_chi_on.png'");
	}
	else{ 
		if (lang=='simplified'){
			eval("document.images['"+str1+"'].src='"+root+"images/button_"+str1+"_schi_on.png'");
		}else{ 
			eval("document.images['"+str1+"'].src='"+root+"images/button_"+str1+"_eng_on.png'");
		}
	}
}

function mouseOut(str1, lang, root){
	if(lang=='chinese'){
		eval("document.images['"+str1+"'].src='"+root+"images/button_"+str1+"_chi_off.png'");
	}
	else{
		if(lang=='simplified'){
			eval("document.images['"+str1+"'].src='"+root+"images/button_"+str1+"_schi_off.png'");
		}else{
			eval("document.images['"+str1+"'].src='"+root+"images/button_"+str1+"_eng_off.png'");
		}
	}
}

function mouseClick(str1, lang, root){
	if(lang=='chinese') {
		eval("document.images['"+str1+"'].src='"+root+"images/button_"+str1+"_chi_on.png'");
	}
	else{
		if(lang=='simplified'){
			eval("document.images['"+str1+"'].src='"+root+"images/button_"+str1+"_schi_on.png'");
		}else{
			eval("document.images['"+str1+"'].src='"+root+"images/button_"+str1+"_eng_on.png'");
		}
	}
}

function go2pageselect(self){
        var newlink = self.value;
        document.URL = newlink;
}

function openWin(w,h,page_title,URL){
        text = "toolbar=no,directories=no,status=no,scrollbars=yes,resize=no,menubar=no,hotkeys=no,location=no,";
        text += "width=";
        text += w;
        text += ",height=";
        text += h;
        newWin = window.open(URL,page_title,text);
        newWin.moveTo(0,0);
        newWin.document.close();
}

function suspendMarqueeMovement(id){
	document.getElementById(id).scrollAmount=0;
}

function resumeMarqueeMovement(id){
	document.getElementById(id).scrollAmount=1;
}