<!--

//do browser detect stuff

wd = screen.width;
if (wd == 1024)
{var v=367;  w=818; x=808; y=525; z=634;}

if (wd == 800)
{var v=360;  w=612; x=610; y=405; z=527;}

if (wd == 640)
{var x=0;  z=460;}

var isNS = (navigator.appName == "Netscape");
var isMacIE = ( (navigator.userAgent.indexOf("IE 4")  > -1) && (navigator.userAgent.indexOf("Mac")  > -1) );
var layerRef = (isNS) ? "document" : "document.all";
var styleRef = (isNS) ? "" : ".style";
var isDynamic = ( (document.layers || document.all) && !isMacIE );

//track which menu is active
var activeMenu = 0;


//display a selected menu
function activateMenu(menuLayerRef, offset, voffset) {
        
        if (isDynamic && activeMenu != menuLayerRef) {

                if (activeMenu) hideMenu("menu" + activeMenu);

                menuID = "menu" + menuLayerRef;
                activeMenu = menuLayerRef;

if(menuLayerRef=='2')
{offset = v;}
if(menuLayerRef=='5')
{offset = w;}
if(menuLayerRef=='1')
{offset = x;}
if(menuLayerRef=='3')
{offset = y;}
if(menuLayerRef=='4')
{offset = z;}
		
		//alert(hn);
                hmenuoff = offset;
                vmenuoff = voffset;
                if (isNS) {
                        document[menuID].top = 16 + voffset;
                        document[menuID].left = offset;
                } else {
                        document.all[menuID].style.pixelTop = 25 + voffset;
                        document.all[menuID].style.pixelLeft = offset;
                } // if is NS else

                showMenu(menuID)
        } // if is dynamic and new menu needed
        // kill menu if browser is IE
        if (isDynamic && !isNS) window.event.cancelBubble = true;
} // activateMenu

function showMenu(layerID) {
        eval(layerRef + '["' + layerID + '"]' + styleRef + '.visibility = "visible"');
}


function hideMenu(layerID) {
        eval(layerRef + '["' + layerID + '"]' + styleRef + '.visibility = "hidden"');
}


// get rid of menus when outside menu or button
function killMenu(e) {
  //check if theres a menu active
  if (activeMenu) {
    menuID = "menu" + activeMenu;
    if (isNS) {
	// top menus
        if (activeMenu <=7) {
	  menuX1 = document[menuID].left;
	  menuX2 = menuX1 + document[menuID].clip.right;
	  menuY1 = document[menuID].top - 25;
	  menuY2 = menuY1 + document[menuID].clip.bottom + 15;
	} // if menu 1 through 4
	// side menus
        if (activeMenu >=8) {
 	  menuX1 = 0;
          menuX2 = 1;
	  menuY1 = document[menuID].top;
	  menuY2 = menuY1 + document[menuID].clip.bottom;
        } // if menu 5 or greater
        if ((e.pageX < menuX1) || (e.pageX > menuX2) ||
             (e.pageY < menuY1) || (e.pageY > menuY2)) {
             hideMenu(menuID);
	     activeMenu = 0;
        } // if in menu
    } else { // if not NS
	hideMenu(menuID);
	activeMenu = 0;
    }  //if isNS else
  }  //if activeMenu
}  //function

// initialize the menu system
function init() {
  if (isDynamic) {
    if (isNS) { 
	document.captureEvents(Event.MOUSEOUT); 
	document.onmouseout = killMenu;
    } else {
	document.onmouseover = killMenu;
    } // if NS else
		
  } // if dynamic
} // init


/*function hotelname(hname)
{	
	hn=hname;
	return hn;

}*/

document.write("</head>\
<body bgcolor=\"#ffffff\" marginwidth=\"0\" marginheight=\"0\" topmargin=\"0\" leftmargin=\"0\" onload=\"init();\">");

if (isDynamic) {
document.write("<DIV id=\"menu1\" class=\"menu\" onMouseover=\"activateMenu(1,110,90)\">\
<TABLE WIDTH=\"160\" BORDER=\"0\" BGCOLOR=\"#FFFFFF\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\">\
<TR><TD>\
<TABLE WIDTH=\"160\" BORDER=\"0\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"1\">\
<TR>\
<TD BGCOLOR=\"#ADC3D7\" CLASS=\"tbl\" ALIGN=\"LEFT\" HEIGHT=\"16\"><A HREF=\"query.html\"><B>&nbsp;&nbsp;Zinc Oxide</B></A></TD>\
</TR><TR>\
<TD BGCOLOR=\"#ADC3D7\" CLASS=\"tbl\" ALIGN=\"LEFT\" HEIGHT=\"16\"><A HREF=\"zinc-dross-query.html\"><B>&nbsp;&nbsp;Zinc Dross</B></A></TD>\
</TR></TABLE></TD></TR></TABLE>\
</DIV>");


document.write("<DIV id=\"menu2\" class=\"menu\" onMouseover=\"activateMenu(2,110,90)\">\
<TABLE WIDTH=\"140\" BORDER=\"0\" BGCOLOR=\"#FFFFFF\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\">\
<TR><TD>\
<TABLE WIDTH=\"140\" BORDER=\"0\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"1\">\
<TR>\
<TD BGCOLOR=\"#ADC3D7\" CLASS=\"tbl\" ALIGN=\"LEFT\" HEIGHT=\"16\"><A HREF=\"nuts.html\"><B>&nbsp;&nbsp;Nuts </B></A></TD>\
</TR><TR>\
<TD BGCOLOR=\"#ADC3D7\" CLASS=\"tbl\" ALIGN=\"LEFT\" HEIGHT=\"16\"><A HREF=\"channel-nut.html\"><B>&nbsp;&nbsp;Channel Nut Assembly </B></A></TD>\
</TR><TR>\
<TD BGCOLOR=\"#ADC3D7\" CLASS=\"tbl\" ALIGN=\"LEFT\" HEIGHT=\"16\"><A HREF=\"channel-nut.html\"><B>&nbsp;&nbsp;Spring Nut Assembly </B></A></TD>\
</TR></TABLE></TD></TR></TABLE>\
</DIV>");









}


//-->

// 