// JavaScript Document
//Nav search
var nav=new Array(11);
	nav[0]="homepage";
	nav[1]="about/"
	nav[2]="product/"
	nav[3]="news/"
	nav[4]="accessories/"
	nav[5]="service/"
	nav[6]="typical/"
	nav[7]="glossary/"
	nav[8]="contact/"
	nav[9]="other/"
	nav[10]="ProductHtml/"
	
function showpath(){
	var currpath,num,resoultpath;
	currpath=location.href;
	for (num=0;num<=10;num++){
	  if (currpath.search(nav[num])>0){
	    resoultpath="."+"."+"/";
		break;}
	  else
	    resoultpath="";
	}
	return(resoultpath);
}


//Goto
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

MM_preloadImages('/img/nav01_o.gif','/img/nav02_o.gif','/img/nav03_o.gif','/img/nav04_o.gif','/img/nav05_o.gif','/img/nav06_o.gif','/img/nav07_o.gif','/img/nav08_o.gif')

function openwin(PageUrl,Title) { 
window.open ("../Product/ShowImg.asp?ImgUrl="+PageUrl+"&Title="+Title, "newwindow", "height=600, width=700,top=50, left=200, toolbar=no, menubar=no, scrollbars=yes, resizable=yes, location=no, status=no") //Ð´³ÉÒ»ÐÐ 
} 
/****************************
var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if 
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers) 
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")
// --> 

//Disable select-text script (IE4+, NS6+)- By Small
function disableselect(e){
return false
}

function reEnable(){
return true
}

//if IE4+
document.onselectstart=new Function ("return false")

//if NS6
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
<!-- Hide

function killErrors() 
{
return true;
}

window.onerror = killErrors;

// -->
****************************/
