var themenucode_home = "<table id=\"themenutable\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"100%\" class=\"link\" onmouseover=\"if(newTI) clearTimeout(newTI)\"  onmouseout=\"newTI = setTimeout('menu_off()', '1000')\"><tr><td onmouseover=\"this.style.backgroundColor='#E0E0E0'\" onmouseout=\"this.style.backgroundColor='White'\"><a class=\"link\" href=\"../about/company.htm\">About HMZ/HMB</a></td></tr><tr><td class=\"link-sep\"></td></tr><tr><td onmouseover=\"this.style.backgroundColor='#E0E0E0'\" onmouseout=\"this.style.backgroundColor='White'\"><a class=\"link\" href=\"../manplant/manplant.htm\">Manufacturing Plants<br /> & Quality</a></td></tr><tr><td class=\"link-sep\"></td></tr><tr><td class=\"link-spacer\">&nbsp;</td></tr><tr><td onmouseover=\"this.style.backgroundColor='#E0E0E0'\" onmouseout=\"this.style.backgroundColor='White'\"><a class=\"link\" href=\"../products/products.htm\">Products</a></td></tr><tr><td class=\"link-sep\"></td></tr><tr><td onmouseover=\"this.style.backgroundColor='#E0E0E0'\" onmouseout=\"this.style.backgroundColor='White'\"><a class=\"link\" href=\"../services/services.htm\">Services</a></td></tr><tr><td class=\"link-sep\"></td></tr><tr><td onmouseover=\"this.style.backgroundColor='#E0E0E0'\" onmouseout=\"this.style.backgroundColor='White'\"><a class=\"link\" href=\"../inquiry/\">Order Online</a></td></tr><tr><td class=\"link-sep\"></td></tr><tr><td class=\"link-spacer\">&nbsp;</td></tr><tr><td onmouseover=\"this.style.backgroundColor='#E0E0E0'\" onmouseout=\"this.style.backgroundColor='White'\"><a class=\"link\" href=\"../contact/contact.htm\">Contact</a></td></tr><tr><td class=\"link-sep\"></td></tr><tr><td onmouseover=\"this.style.backgroundColor='#E0E0E0'\" onmouseout=\"this.style.backgroundColor='White'\"><a class=\"link\" href=\"../sitemap/sitemap.htm\">Site Map</a></td></tr><tr><td class=\"link-sep\"></td></tr><tr><td class=\"link-spacer\">&nbsp;</td></tr><tr><td onmouseover=\"this.style.backgroundColor='#E0E0E0'\" onmouseout=\"this.style.backgroundColor='White'\"><a class=\"link\" href=\"../news/news.htm\">News</a></td></tr><!-- homepage --></table>",
	themenucode = themenucode_home.replace(/<!-- homepage -->/, "<tr><td class=\"link-sep\"></td></tr><tr><td class=\"link-spacer\">&nbsp;</td></tr><tr><td onmouseover=\"this.style.backgroundColor='#E0E0E0'\" onmouseout=\"this.style.backgroundColor='White'\"><a class=\"link\" href=\"../home/index.htm\">Home Page</a></td></tr>");
	
function moveroot(newroot, addv) {
	themenucode = themenucode.replace(/[.][.][\/]/g, newroot);
	if (addv) for (var ui_mr_lpCounter=1; ui_mr_lpCounter<moveroot.arguments.length; ui_mr_lpCounter++)
	eval(moveroot.arguments[ui_mr_lpCounter] + " = " + moveroot.arguments[ui_mr_lpCounter] + ".replace(/[.][.][/]/g, newroot);");	
}
	
function Point(x,y) { this.x = x; this.y = y; }
var mouseLocation = new Point(-500,-500);
function getMouseLoc(e)
{
  if(!document.all)  //NS
  {
    mouseLocation.x = e.pageX;
    mouseLocation.y = e.pageY;
  }
  else               //IE
  {
    mouseLocation.x = event.x + document.body.scrollLeft;
    mouseLocation.y = event.y + document.body.scrollTop;
  }
  return true;
}
//NS init:
if(document.layers) { document.captureEvents(Event.MOUSEMOVE); document.onMouseMove = getMouseLoc; }

function setmenupose(menu) {
		if (document.layers) getMouseLoc;     //NS
	 	else if (document.all) getMouseLoc(); //IE
		document.getElementById((menu)?menu:"fullmenu").style.left=mouseLocation.x-32;
}