var Active_Product="<div class='sideNavOutdent'><span class='globalBullet'>&#8226;&#160;</span><span class='sideNavHeadingCurrent'>LINKTITLE</span></div>";

var Other_Product="<div class='sideNavOutdent'><span class='globalArrow'>&gt;&#160;</span><a href='LINKNAME' class='sideNavLink'>LINKTITLE</a></div>";

var LeftNav="<table cellpadding='0' cellspacing='0' border='0'><tr><td class='globalBodyCopy'>LEFT_NAV     <div><img src='../resources/images/spacer.gif' width='2' height='20' alt='' border='0'/></div><img src='../resources/images/spacer.gif' alt='' width='153' height='2' border='0'/></td></tr></table>";	


var LeftNavText="";
//Create Array for Displaying text and Link to Display
var Products=new Array("Pressure","Humidity","Flow","Temperature","Gas","Infrared","Moisture","Level","Electrical");
var Products_Title=new Array("tech_pressure.htm","tech_humidity.htm","tech_flowmeters.htm","tech_temperature.htm","tech_gas.htm","tech_infrared.htm","tech_moisture.htm","tech_level.htm","tech_electrical.htm");
 


for(var i=0;i<Product_Nav.length;i++)
{
	temp="";
	if(Product_Nav[i]==Product_Page)
	{
	//alert(Products[eval(Product_Nav[i]-1)]);
		linkname=Products_Title[eval(Product_Nav[i]-1)];
		//alert("linkname"+linkname);
		temp=Active_Product.replace("LINKTITLE",Products[Product_Nav[i]-1]);
		temp=temp.replace("LINKNAME",linkname);
		//alert("temp"+temp);
		LeftNavText=LeftNavText+temp;
	}
	else
	{
		//alert(Products[eval(Product_Nav[i]-1)]);
		linkname=Products_Title[eval(Product_Nav[i]-1)];
		//alert("linkname"+linkname);
		temp=Other_Product.replace("LINKTITLE",Products[Product_Nav[i]-1]);
		temp=temp.replace("LINKNAME",linkname);
		//alert("temp"+temp);
		LeftNavText=LeftNavText+temp;

	}
	
	
}
LeftNav=LeftNav.replace("LEFT_NAV",LeftNavText);

document.write(LeftNav);

   


		  
