but1=new Image(); 
but1.src="../images/main/home_but_on.gif";
but2=new Image(); 
but2.src="../images/main/sitemap_but_on.gif";
but3=new Image(); 
but3.src="../images/main/link_but_on.gif";
but4=new Image(); 
but4.src="../images/main/contact_but_on.gif";

but1off=new Image();
but1off.src="../images/main/home_but_out.gif";
but2off=new Image();
but2off.src="../images/main/sitemap_but_out.gif";
but3off=new Image();
but3off.src="../images/main/link_but_out.gif";
but4off=new Image();
but4off.src="../images/main/contact_but_out.gif";

function buton(x1){
	document['tbut'+x1].src=eval("but"+x1+".src");
}

function butout(x2){
	document['tbut'+x2].src=eval("but"+x2+"off.src");
}

function remote(url) 
{ 
RemindWindow = window.open( url, "remote", "toolbar=no,width=650,height=600,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes" ); 
}

function jumpglobal(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}


	im4 = (document.layers)?true:false
	ie4 = (document.all)?true:false

	var hideTimeout
	function mouseOver(e){
	 hideTimeout = window.setTimeout("showLayers()", 5000);
	 return true
	}

	function showObject(obj) {
		if (im4) obj.visibility = "show"
		else if (ie4) obj.style.visibility = "visible"
		return obj
	}

	function hideObject(obj) {
		if(hideTimeout != null) window.clearTimeout(hideTimeout);
		if (im4) obj.visibility = "hide"
		else if (ie4) obj.style.visibility = "hidden"
	}

	var swapObj = new Array();
	function showLayers() {
	 var tobj

	 for(i=0;i<swapObj.length;i++) {hideObject(swapObj[i]) }
	 args = showLayers.arguments

	 for(i=0;i<args.length;i++){
	   if (im4) tobj = eval("document.layers['"+args[i]+"']")
       else if (ie4) tobj = eval("document.all['"+args[i]+"']")
	   swapObj[i] = showObject(tobj);
	 }
	}

	function hideLayers() {
	 for(i=0;i<swapObj.length;i++) {hideObject(swapObj[i]) }
	 args = showLayers.arguments
	}