if(document.all || (document.layers && nsVer == 'good'))
{	
  document.write( "<div id='NSbuffer' style='top:0;left:0;width:1;height:1;position:absolute;visibility:hidden;z-index:1;'></div>"+
		
		"<div id='about' style='top:92;left:65px;width:1px;height:100;position:absolute;visibility:hidden;z-index:95;'>"+
		"<table id='about_tbl' cellpadding=0 cellspacing=0 border=0 onmouseOut='hideMenuIE();'>"+
			"<tr>"+
				"<td nowrap><a href='../kaye/index.htm' onmouseout=\"changeImages('dhtml24', 'dhtml24off')\" onmouseover=\"changeImages('dhtml24', 'dhtml24on')\"><img name='dhtml24' src='../img/d_about_overview_0.gif' width='52' height='25' border='0' alt='Overview'></a></td>"+
			"</tr>"+
		"</table>"+
		"</div>"+
				
		"<div id='news' style='top:92;left:126px;width:1px;height:100;position:absolute;visibility:hidden;z-index:95;'>"+
		"<table id='news_tbl' cellpadding=0 cellspacing=0 border=0 onmouseOut='hideMenuIE();'>"+
			"<tr>"+
				"<td nowrap><a href='../validationnews/index.htm' onmouseout=\"changeImages('dhtml1', 'dhtml1off')\" onmouseover=\"changeImages('dhtml1', 'dhtml1on')\"><img name='dhtml1' src='../img/d_about_overview_0.gif' width='52' height='25' border='0' alt='Overview'></a><img src='../img/bg_dhtml.gif' width='10' height='25' border='0' alt=''><a href='../validationnews/products.htm' onmouseout=\"changeImages('dhtml2', 'dhtml2off')\" onmouseover=\"changeImages('dhtml2', 'dhtml2on')\"><img name='dhtml2' src='../img/d_news_products_0.gif' width='76' height='25' border='0' alt='New Products'></a><img src='../img/bg_dhtml.gif' width='10' height='25' border='0' alt=''><a href='../validationnews/events.htm' onmouseout=\"changeImages('dhtml4', 'dhtml4off')\" onmouseover=\"changeImages('dhtml4', 'dhtml4on')\"><img name='dhtml4' src='../img/d_news_events_0.gif' width='82' height='25' border='0' alt='Shows and Events'></a><img src='../img/bg_dhtml.gif' width='10' height='25' border='0' alt=''><a href='../validationnews/promo.htm' onmouseout=\"changeImages('dhtml6', 'dhtml6off')\" onmouseover=\"changeImages('dhtml6', 'dhtml6on')\"><img name='dhtml6' src='../img/d_news_promo_0.gif' width='98' height='25' border='0' alt='Special Promotion'></a></td>"+
			"</tr>"+
		"</table>"+
		"</div>"+
		
		"<div id='products' style='top:92;left:69px;width:1px;height:100;position:absolute;visibility:hidden;z-index:95;'>"+
		"<table id='products_tbl' cellpadding=0 cellspacing=0 border=0 onmouseOut='hideMenuIE();'>"+
			"<tr>"+
				"<td nowrap><a href='../validationproducts/validator.htm' onmouseout=\"changeImages('dhtml28', 'dhtml28off')\" onmouseover=\"changeImages('dhtml28', 'dhtml28on')\"><img name='dhtml28' src='../img/d_products_validator2000_0.gif' width='81' height='25' border='0' alt='Validator 2000'></a><img src='../img/bg_dhtml.gif' width='10' height='25' border='0' alt=''><a href='../validationproducts/valprobe.htm' onmouseout=\"changeImages('dhtml29', 'dhtml29off')\" onmouseover=\"changeImages('dhtml29', 'dhtml29on')\"><img name='dhtml29' src='../img/d_products_valprobe_0.gif' width='58' height='25' border='0' alt='Valprobe'></a><img src='../img/bg_dhtml.gif' width='10' height='25' border='0' alt=''><a href='../validationproducts/labwatch.htm' onmouseout=\"changeImages('dhtml30', 'dhtml30off')\" onmouseover=\"changeImages('dhtml30', 'dhtml30on')\"><img name='dhtml30' src='../img/d_products_labwatch_0.gif' width='57' height='25' border='0' alt='Labwatch'></a><img src='../img/bg_dhtml.gif' width='10' height='25' border='0' alt=''><a href='../validationproducts/calibration.htm' onmouseout=\"changeImages('dhtml31', 'dhtml31off')\" onmouseover=\"changeImages('dhtml31', 'dhtml31on')\"><img name='dhtml31' src='../img/d_products_calibration_0.gif' width='64' height='25' border='0' alt='Calibration Equipment'></a><img src='../img/bg_dhtml.gif' width='10' height='25' border='0' alt=''><a href='../validationproducts/accessories.htm' onmouseout=\"changeImages('dhtml33', 'dhtml33off')\" onmouseover=\"changeImages('dhtml33', 'dhtml33on')\"><img name='dhtml33' src='../img/d_products_sensors_accessories_0.gif' width='122' height='25' border='0' alt='Sensors and Accessories'></a><img src='../img/bg_dhtml.gif' width='10' height='25' border='0' alt=''><a href='../validationproducts/industrial.htm' onmouseout=\"changeImages('dhtml32', 'dhtml32off')\" onmouseover=\"changeImages('dhtml32', 'dhtml32on')\"><img name='dhtml32' src='../img/d_products_industrial_measurement_0.gif' width='129' height='25' border='0' alt='Industrial Measurement'></a><img src='../img/bg_dhtml.gif' width='10' height='25' border='0' alt=''><a href='../validationproducts/digi4.htm' onmouseout=\"changeImages('dhtml34', 'dhtml34off')\" onmouseover=\"changeImages('dhtml34', 'dhtml34on')\"><img name='dhtml34' src='../img/d_products_digisystems_0.gif' width='65' height='25' border='0' alt='Digi Systems'></a><img src='../img/bg_dhtml.gif' width='10' height='25' border='0' alt=''><a href='../validationproducts/pressure_instruments.htm' onmouseout=\"changeImages('dhtml35', 'dhtml35off')\" onmouseover=\"changeImages('dhtml35', 'dhtml35on')\"><img name='dhtml35' src='../img/d_products_pressure_inst_0.gif' width='50' height='25' border='0' alt='Pressure Instruments'></a><img src='../img/bg_dhtml.gif' width='10' height='25' border='0' alt=''></td>"+
			"</tr>"+
		"</table>"+
		"</div>"+
		
		"<div id='resources' style='top:92;left:270px;width:1px;height:100;position:absolute;visibility:hidden;z-index:95;'>"+
		"<table id='resources_tbl' cellpadding=0 cellspacing=0 border=0 onmouseOut='hideMenuIE();'>"+
			"<tr>"+
				"<td nowrap><a href='../kayeresources/index.htm' onmouseout=\"changeImages('dhtml12', 'dhtml12off')\" onmouseover=\"changeImages('dhtml12', 'dhtml12on')\"><img name='dhtml12' src='../img/d_resources_overview_0.gif' width='49' height='25' border='0' alt='Overview'></a><img src='../img/bg_dhtml.gif' width='10' height='25' border='0' alt=''><a href='../kayeresources/support.htm' onmouseout=\"changeImages('dhtml13', 'dhtml13off')\" onmouseover=\"changeImages('dhtml13', 'dhtml13on')\"><img name='dhtml13' src='../img/d_resources_support_0.gif' width='104' height='25' border='0' alt='Service and Support'></a><img src='../img/bg_dhtml.gif' width='10' height='25' border='0' alt=''><a href='../kayeresources/upgrades.htm' onmouseout=\"changeImages('dhtml14', 'dhtml14off')\" onmouseover=\"changeImages('dhtml14', 'dhtml14on')\"><img name='dhtml14' src='../img/d_resources_upgrades_0.gif' width='52' height='25' border='0' alt='Upgrades'></a><img src='../img/bg_dhtml.gif' width='10' height='25' border='0' alt=''><a href='../kayeresources/lit.htm' onmouseout=\"changeImages('dhtml15', 'dhtml15off')\" onmouseover=\"changeImages('dhtml15', 'dhtml15on')\"><img name='dhtml15' src='../img/d_resources_lit_0.gif' width='57' height='25' border='0' alt='Literature'></a><img src='../img/bg_dhtml.gif' width='10' height='25' border='0' alt=''><a href='../kayeresources/industry.htm' onmouseout=\"changeImages('dhtml16', 'dhtml16off')\" onmouseover=\"changeImages('dhtml16', 'dhtml16on')\"><img name='dhtml16' src='../img/d_resources_standards_0.gif' width='105' height='25' border='0' alt='Industry Standards'></a><img src='../img/bg_dhtml.gif' width='10' height='25' border='0' alt=''><a href='../kayeresources/training.htm' onmouseout=\"changeImages('dhtml5', 'dhtml5off')\" onmouseover=\"changeImages('dhtml5', 'dhtml5on')\"><img name='dhtml5' src='../img/d_news_training_0.gif' width='45' height='25' border='0' alt='Training'></a><img src='../img/bg_dhtml.gif' width='10' height='25' border='0' alt=''><a href='../kayeresources/faq.htm' onmouseout=\"changeImages('dhtml17', 'dhtml17off')\" onmouseover=\"changeImages('dhtml17', 'dhtml17on')\"><img name='dhtml17' src='../img/d_resources_faq_0.gif' width='18' height='25' border='0' alt='FAQ's'></a></td>"+
			"</tr>"+
		"</table>"+
		"</div>"+
		
		"<div id='contact' style='top:92;left:382px;width:1px;height:100;position:absolute;visibility:hidden;z-index:95;'>"+
		"<table id='contact_tbl' cellpadding=0 cellspacing=0 border=0 onmouseOut='hideMenuIE();'>"+
			"<tr>"+
				"<td nowrap><a href='../contactkaye/index.htm' onmouseout=\"changeImages('dhtml26', 'dhtml26off')\" onmouseover=\"changeImages('dhtml26', 'dhtml26on')\"><img name='dhtml26' src='../img/d_about_overview_0.gif' width='52' height='25' border='0' alt='Overview'></a><img src='../img/bg_dhtml.gif' width='10' height='25' border='0' alt=''><a href='../contactkaye/locations.asp' onmouseout=\"changeImages('dhtml18', 'dhtml18off')\" onmouseover=\"changeImages('dhtml18', 'dhtml18on')\"><img name='dhtml18' src='../img/d_contact_locations_0.gif' width='53' height='25' border='0' alt='Locations'></a><img src='../img/bg_dhtml.gif' width='10' height='25' border='0' alt=''><a href='../contactkaye/quotations.cfm' onmouseout=\"changeImages('dhtml19', 'dhtml19off')\" onmouseover=\"changeImages('dhtml19', 'dhtml19on')\"><img name='dhtml19' src='../img/d_contact_quotations_0.gif' width='124' height='25' border='0' alt='Quotations'></a><img src='../img/bg_dhtml.gif' width='10' height='25' border='0' alt=''><a href='../contactkaye/careers.htm' onmouseout=\"changeImages('dhtml21', 'dhtml21off')\" onmouseover=\"changeImages('dhtml21', 'dhtml21on')\"><img name='dhtml21' src='../img/d_contact_careers_0.gif' width='45' height='25' border='0' alt='Literature'></a><img src='../img/bg_dhtml.gif' width='10' height='25' border='0' alt=''><a href='../contactkaye/directions.htm' onmouseout=\"changeImages('dhtml22', 'dhtml22off')\" onmouseover=\"changeImages('dhtml22', 'dhtml22on')\"><img name='dhtml22' src='../img/d_contact_directions_0.gif' width='57' height='25' border='0' alt='Industry Standards'></a></td>"+
			"</tr>"+
		"</table>"+
		"</div>")
	}

function mouseMove(e)
{	
  if((document.all) && (ready == "yes") && (ie5 == 0))
  {
		x=event.x;
		y=event.y;
   	//window.status = x + "," + y;
    menuOff(x,y);
   
	}
	if((document.layers) && (ready == "yes") && (nsVer == 'good'))
  {
		x=e.pageX;
		y=e.pageY;		
    //window.status = x + "," + y;
    menuOff(x,y);    
	}
}

if (document.all)
{	
  document.onmousemove = mouseMove;
	layerRef = "document.all";
	layerStyle = ".style"; 
}
if ((document.layers) && (nsVer == 'good'))
{
  document.onmousemove = mouseMove;
	document.captureEvents(Event.MOUSEMOVE);
	layerRef = "document.layers";
	layerStyle = "";
}

function showLayer(layerName)
{
  eval(layerRef+'["'+layerName+'"]'+layerStyle+'.visibility="visible"') 
  if(ie5)
  {   
   activeMenu = eval("document.all." + layerName + "_tbl");  
  }
}

function hideLayer(layerName)
{	
  eval(layerRef+'["'+layerName+'"]'+layerStyle+'.visibility="hidden"')   
}

function moveLayer(layerName,top,left)
{  
  eval(layerRef+'["'+layerName+'"]'+layerStyle+'.top=top')
  eval(layerRef+'["'+layerName+'"]'+layerStyle+'.left=left') 
}

function rem()
{
	if((document.all) || ((document.layers) && (nsVer == 'good')))
  {	  
  	hideLayer("about");
    hideLayer("news");
	hideLayer("products");
	hideLayer("resources");
	hideLayer("contact");
	resetRollOver(); 
	}
}

function menuOn(lName)
{
	if((document.all) || ((document.layers) && (nsVer == 'good')))  
  {
    //alert(menuName);
    rem();
	  menuName = lName;
	  showLayer(lName);
	}
}

function menuOff(xcord,ycord)
{
	//right 
	if(menuName == "about" && xcord > 120){rem();}
  	if(menuName == "news" && xcord > 527){rem();}
	if(menuName == "products" && xcord > 774){rem();}
	if(menuName == "resources" && xcord > 815){rem();}
	if(menuName == "contact" && xcord > 820){rem();}
			
  //left
  	if(menuName == "about" && xcord < 65){rem();}
  	if(menuName == "news" && xcord < 126){rem();}
	if(menuName == "products" && xcord < 69){rem();}
	if(menuName == "resources" && xcord < 318){rem();}
	if(menuName == "contact" && xcord < 382){rem();}
		
  //top	
  	if(menuName == "about" && ycord < 66){rem();}
  	if(menuName == "news" && ycord < 66){rem();}
	if(menuName == "products" && ycord < 66){rem();}
	if(menuName == "resources" && ycord < 66){rem();}
	if(menuName == "contact" && ycord < 66){rem();}
		
  //bottom	
  	if(menuName == "about" && ycord > 117){rem();}
  	if(menuName == "news" && ycord > 117){rem();}
	if(menuName == "products" && ycord > 117){rem();}
	if(menuName == "resources" && ycord > 117){rem();}
	if(menuName == "contact" && ycord > 117){rem();}
	
	
}

ready = "yes";