// JavaScript menuFix
function menuFix() { 
	var sfEls = document.getElementById("muNav").getElementsByTagName("li"); 
	for (var i=0; i<sfEls.length; i++) 
	{ 
		sfEls[i].onmouseover=function() 
		{ 
			this.className+=(this.className.length>0? " ": "") + "sfhover"; 
		} 
		sfEls[i].onMouseDown=function() { 
			this.className+=(this.className.length>0? " ": "") + "sfhover"; 
		} 
		sfEls[i].onMouseUp=function() { 
			this.className+=(this.className.length>0? " ": "") + "sfhover"; 
		} 
		sfEls[i].onmouseout=function() { 
			this.className=this.className.replace(new RegExp("( ?|^)sfhover\\b"), ""); 
		} 
	} 
} 
window.onload=menuFix; 

function soCheckEn(){
	if(document.searchForm.optUrl.value==1)
		document.searchForm.action="/en/products/"
	else if(document.searchForm.optUrl.value==2)
		document.searchForm.action="/en/show/"
	else if(document.searchForm.optUrl.value==3)		
		document.searchForm.action="/en/applications/view.asp";
}
function soCheckCn(){
	if(document.searchForm.optUrl.value==1)
		document.searchForm.action="/cn/products/"
	else if(document.searchForm.optUrl.value==2)
		document.searchForm.action="/cn/show/"
	else if(document.searchForm.optUrl.value==3)		
		document.searchForm.action="/cn/applications/view.asp";
}
