	window.onerror = null;
	var bName = navigator.appName;
	var bVer = parseInt(navigator.appVersion);
	var NS4 = (bName == "Netscape" && bVer >= 4);
	var IE4 = (bName == "Microsoft Internet Explorer" && bVer >= 4);
	var NS3 = (bName == "Netscape" && bVer < 4);
	var IE3 = (bName == "Microsoft Internet Explorer" && bVer < 4);
	var menuActive = 0
	var menuOn = 0
	var onLayer
	var timeOn = null
	var loaded = 0


	// LAYER SWITCHING CODE
	if (NS4 || IE4) {
	 if (navigator.appName == "Netscape") {
	  layerStyleRef="layer.";
	  layerRef="document.layers";
	  styleSwitch="";
	  }else{
	  layerStyleRef="layer.style.";
	  layerRef="document.all";
	  styleSwitch=".style";
	 }
	}

	function popupscrollyes(url){
		PopWin = window.open(url,'cool1', "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=0,height=0,top=10,left=10");
		PopWin.focus();
	}
	
	function popupscrollno(url){
		PopWin = window.open(url,'cool2', "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=0,height=0,top=10,left=10");
		PopWin.focus();
	}

	var combowidth=''
	var comboheight=''

	function initialize(){

		if (document.all){
			combowidth=chating.offsetWidth;
			comboheight=chating.offsetHeight;
			setInterval("staticit_ie()",50)
			chating.style.visibility="visible"
		}
		else if (document.layers){
			combowidth=document.chating.document.width
			comboheight=document.chating.document.height
			setInterval("staticit_ns()",50)
			document.chating.visibility="show"
		}
	}

	function staticit_ie(){
		chating.style.pixelLeft=document.body.scrollLeft+document.body.clientWidth-combowidth-130
		chating.style.pixelTop=document.body.scrollTop+document.body.clientHeight-comboheight
	}

	function staticit_ns(){
		document.chating.left=pageXOffset+window.innerWidth-combowidth-130
		document.chating.top=pageYOffset+window.innerHeight-comboheight
	}

 
	function layershow(){
	   var i, visStr, args, theObj;
	   args = layershow.arguments;
	   
	   for (i=0; i<(args.length-2); i+=3) {
		  visStr   = args[i+2];
	  
		  if (navigator.appName == 'Netscape' && document.layers != null) {
			  theObj = eval(args[i]);
			  if (theObj) theObj.visibility = visStr;
		  } else if (document.all != null) {
			  if (visStr == 'show') visStr = 'visible';
			  if (visStr == 'hide') visStr = 'hidden';
			  theObj = eval(args[i+1]);
			  if (theObj) theObj.style.visibility = visStr;
		  }
	   }
	}

	  
	 
	// SHOW MENU
	function showLayer(layerName){
	if (NS4 || IE4) {
	 if (timeOn != null) {
	  clearTimeout(timeOn)
	  hideLayer(onLayer)
	 }
	 if (NS4 || IE4) {
		eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="visible"');
	 }
	 onLayer = layerName
	}
	//	document.listForm.brandName.style.display = 'none';
	//	document.listForm.ordertitle.style.display = 'none';	
		
	}

	// HIDE MENU
	function hideLayer(layerName){
	 if (menuActive == 0) {
	  if (NS4 || IE4) {
	   eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="hidden"');
	  }
	 } 
		//document.listForm.brandName.style.display = '';
		//document.listForm.ordertitle.style.display = '';	
	}


	// TIMER FOR BUTTON MOUSE OUT
	function btnTimer() {
	menuActive=0
	 timeOn = setTimeout("btnOut()",300)
	}

	// BUTTON MOUSE OUT
	function btnOut(layerName) {
	menuActive=0
	 if (menuActive == 0) {
	  hideLayer(onLayer)
	  }
	}

	// MENU MOUSE OVER  
	function mOver(itemName) {
	 clearTimeout(timeOn)
	 menuActive = 1
	// if (NS4 || IE4) {
	//    if (NS4) {
	//    document[onLayer].document.images[itemName].src = menu2.src
	// } else {
	//    document.all[itemName].src = menu2.src
	// }
	//}
	}

	// MENU MOUSE OUT 
	function mOut(itemName) {
	 menuActive = 0 
	// if (NS4 || IE4) {
	//   if (NS4) {
	//   document[onLayer].document.images[itemName].src = menu1.src
	//  }
	//   else {
	//   document.all[itemName].src = menu1.src
	// }
	//}
	  timeOn = setTimeout("hideLayer(onLayer)", 300)
	 }

