<!--
var temp="", lhs="", rhs="";
var type="", val="";
function makeMail(lhs,rhs)
{
	temp ="";
	temp +=lhs;
	temp +="@";
	temp +=rhs;
}
// runIt : This function creates
// the various mail statements for
// text, image, map, class
// type : refer to previous line
// value : if extra params are needed
function runIt(type, val)
{
	makeMail(lhs,rhs);
	var content ="";
	if (!(type == "map"))
	{
		content +="<a href=\"mailto:";
		content +=temp;
		if (type == "class")
		{
			content +="\" class=\"";
			content +=val;
		}
		content +="\">";
		if (type == "image")
		{
			content +=val;
		} else if (type == "text" && val != null)
		{
			content +=val;
		} else {
			content +=temp;
		}
		content +="</a>";
	} else {
		content +="<area shape=\"rect\" alt=\"";
		content +=temp;
		content +="\" coords=\"";
		content +=val;
		content +="\" href=\"mailto:";
		content +=temp;
		content +="\">";
	}
	document.write(content);
	return;
}

// navigation mouseovers

if (document.images != null)
{       var currentImg = "nothing"
        preLoad();
}

function preLoad()
{
        nav1_up = new Image();
        nav1_dn = new Image();
        nav1_up.src = "images/nav_capabilities.gif";
        nav1_dn.src = "images/nav_capabilities_on.gif";

        nav2_up = new Image();
        nav2_dn = new Image();
        nav2_up.src = "images/nav_materials.gif";
        nav2_dn.src = "images/nav_materials_on.gif";

        nav3_up = new Image();
        nav3_dn = new Image();
        nav3_up.src = "images/nav_industries.gif";
        nav3_dn.src = "images/nav_industries_on.gif";

        nav4_up = new Image();
        nav4_dn = new Image();
        nav4_up.src = "images/nav_copro.gif";
        nav4_dn.src = "images/nav_copro_on.gif";

		nav5_up = new Image();
        nav5_dn = new Image();
        nav5_up.src = "images/nav_facilities.gif";
        nav5_dn.src = "images/nav_facilities_on.gif";

		nav6_up = new Image();
        nav6_dn = new Image();
        nav6_up.src = "images/nav_contact.gif";
        nav6_dn.src = "images/nav_contact_on.gif";
        
		nav7_up = new Image();
        nav7_dn = new Image();
        nav7_up.src = "images/nav_sitemap.gif";
        nav7_dn.src = "images/nav_sitemap_on.gif";
}

function rollover(img,what)
{
        if (document.images != null)
        {
                        if(what == "over")
                                swapImg = eval(img + "_dn.src");
                        if(what == "out")
                                swapImg = eval(img + "_up.src");
                       document [img].src = swapImg;
        }
}

//-->