//do browser detect stuff

var wd = screen.width;
if (wd == 1024)
{var x = 710;  z=800; layer7=264;layer8=336;}

if (wd == 800)
{var x=500;  z=620; layer7=258;layer8=275;}

if (wd == 640)
{var x=160;  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(offset=='x')
{offset = x;}
if(offset=='y')
{offset = y;}
if(offset=='z')
{offset = z;}
if(menuLayerRef==27)
{
offset=layer27;
}
if(menuLayerRef==26)
{
offset=layer26;
}

		
		//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,46,120)\">\
<table WIDTH=\"200\" BORDER=\"0\" BGCOLOR=\"#FFFFFF\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\">\
<tr><TD>\
<table WIDTH=\"200\" BORDER=\"0\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"1\">\
<TR><TD BGCOLOR=\"#5A99C8\" CLASS=\"tbl\" ALIGN=\"LEFT\" HEIGHT=\"17\"><A HREF=\"/conveying.html#belt-conveyors\"><B>Belt Conveyors</B></A></TD></TR><TR><TD BGCOLOR=\"#5A99C8\" CLASS=\"tbl\" ALIGN=\"LEFT\" HEIGHT=\"17\"><A HREF=\"/conveying.html#screw-conveyors\"><B>Screw Conveyors</B></A></TD></TR><TR><TD BGCOLOR=\"#5A99C8\" CLASS=\"tbl\" ALIGN=\"LEFT\" HEIGHT=\"17\"><A HREF=\"/conveying.html#bucket-elevator\"><B>Bucket Elevator</B></A></TD></TR></table></TD></tr></table>\
</DIV>");

document.write("<DIV id=\"menu2\" class=\"menu\" onMouseover=\"activateMenu(2,46,140)\">\
<table WIDTH=\"200\" BORDER=\"0\" BGCOLOR=\"#FFFFFF\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\">\
<tr><TD>\
<table WIDTH=\"200\" BORDER=\"0\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"1\">\
<TR><TD BGCOLOR=\"#5A99C8\" CLASS=\"tbl\" ALIGN=\"LEFT\" HEIGHT=\"17\"><A HREF=\"/crushing.html#jaw-crusher\"><B>Jaw Crusher</B></A></TD></TR><TR><TD BGCOLOR=\"#5A99C8\" CLASS=\"tbl\" ALIGN=\"LEFT\" HEIGHT=\"17\"><A HREF=\"/crushing.html#single-roll-crusher\"><B>Single Roll Crusher</B></A></TD></TR><TR><TD BGCOLOR=\"#5A99C8\" CLASS=\"tbl\" ALIGN=\"LEFT\" HEIGHT=\"17\"><A HREF=\"/crushing.html#hammer-mill\"><B>Hammer Mill</B></A></TD></TR></table></TD></tr></table>\
</DIV>");

document.write("<DIV id=\"menu3\" class=\"menu\" onMouseover=\"activateMenu(3,46,160)\">\
<table WIDTH=\"200\" BORDER=\"0\" BGCOLOR=\"#FFFFFF\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\">\
<tr><TD>\
<table WIDTH=\"200\" BORDER=\"0\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"1\">\
<TR><TD BGCOLOR=\"#5A99C8\" CLASS=\"tbl\" ALIGN=\"LEFT\" HEIGHT=\"17\"><A HREF=\"/screening.html#vibrating-screen\"><B>Vibrating Screen</B></A></TD></TR></table></TD></tr></table>\
</DIV>");

document.write("<DIV id=\"menu4\" class=\"menu\" onMouseover=\"activateMenu(4,46,180)\">\
<table WIDTH=\"200\" BORDER=\"0\" BGCOLOR=\"#FFFFFF\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\">\
<tr><TD>\
<table WIDTH=\"200\" BORDER=\"0\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"1\">\
<TR><TD BGCOLOR=\"#5A99C8\" CLASS=\"tbl\" ALIGN=\"LEFT\" HEIGHT=\"17\"><A HREF=\"/grinding-machines.html#ball-mill\"><B>Ball Mill</B></A></TD></TR></table></TD></tr></table>\
</DIV>");

document.write("<DIV id=\"menu5\" class=\"menu\" onMouseover=\"activateMenu(5,46,200)\">\
<table WIDTH=\"200\" BORDER=\"0\" BGCOLOR=\"#FFFFFF\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\">\
<tr><TD>\
<table WIDTH=\"200\" BORDER=\"0\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"1\">\
<TR><TD BGCOLOR=\"#5A99C8\" CLASS=\"tbl\" ALIGN=\"LEFT\" HEIGHT=\"17\"><A HREF=\"/dryer.html#rotary-dryer\"><B>Rotary Dryer</B></A></TD></TR></table></TD></tr></table>\
</DIV>");

document.write("<DIV id=\"menu6\" class=\"menu\" onMouseover=\"activateMenu(6,46,220)\">\
<table WIDTH=\"200\" BORDER=\"0\" BGCOLOR=\"#FFFFFF\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\">\
<tr><TD>\
<table WIDTH=\"200\" BORDER=\"0\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"1\">\
<TR><TD BGCOLOR=\"#5A99C8\" CLASS=\"tbl\" ALIGN=\"LEFT\" HEIGHT=\"17\"><A HREF=\"/packing-machines.html#pneumatic-bag-packing-machine\"><B>Pneumatic Bag Packing Machine</B></A></TD></TR><TR><TD BGCOLOR=\"#5A99C8\" CLASS=\"tbl\" ALIGN=\"LEFT\" HEIGHT=\"17\"><A HREF=\"/packing-machines.html#mobile-bag-packing-machine\"><B>Mobile Bag Packing Machine</B></A></TD></TR></table></TD></tr></table>\
</DIV>");

document.write("<DIV id=\"menu7\" class=\"menu\" onMouseover=\"activateMenu(7,46,240)\">\
<table WIDTH=\"200\" BORDER=\"0\" BGCOLOR=\"#FFFFFF\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\">\
<tr><TD>\
<table WIDTH=\"200\" BORDER=\"0\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"1\">\
<TR><TD BGCOLOR=\"#5A99C8\" CLASS=\"tbl\" ALIGN=\"LEFT\" HEIGHT=\"17\"><A HREF=\"/feeder-machines.html#material-feeder\"><B>Material Feeder</B></A></TD></TR></table></TD></tr></table>\
</DIV>");

document.write("<DIV id=\"menu8\" class=\"menu\" onMouseover=\"activateMenu(8,46,260)\">\
<table WIDTH=\"200\" BORDER=\"0\" BGCOLOR=\"#FFFFFF\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\">\
<tr><TD>\
<table WIDTH=\"200\" BORDER=\"0\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"1\">\
<TR><TD BGCOLOR=\"#5A99C8\" CLASS=\"tbl\" ALIGN=\"LEFT\" HEIGHT=\"17\"><A HREF=\"/kiln.html#vertical-shaft-kiln\"><B>Vertical Shaft Kiln</B></A></TD></TR></table></TD></tr></table>\
</DIV>");

document.write("<DIV id=\"menu9\" class=\"menu\" onMouseover=\"activateMenu(9,46,280)\">\
<table WIDTH=\"200\" BORDER=\"0\" BGCOLOR=\"#FFFFFF\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\">\
<tr><TD>\
<table WIDTH=\"200\" BORDER=\"0\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"1\">\
<TR><TD BGCOLOR=\"#5A99C8\" CLASS=\"tbl\" ALIGN=\"LEFT\" HEIGHT=\"17\"><A HREF=\"/flour-mill.html#horizontal-janta-type\"><B>Horizontal Janta Type</B></A></TD></TR><TR><TD BGCOLOR=\"#5A99C8\" CLASS=\"tbl\" ALIGN=\"LEFT\" HEIGHT=\"17\"><A HREF=\"/flour-mill.html#horizontal-bolt-type\"><B>Horizontal Bolt Type</B></A></TD></TR><TR><TD BGCOLOR=\"#5A99C8\" CLASS=\"tbl\" ALIGN=\"LEFT\" HEIGHT=\"17\"><A HREF=\"/flour-mill.html#vertical-type\"><B>Vertical Type</B></A></TD></TR></table></TD></tr></table>\
</DIV>");

document.write("<DIV id=\"menu10\" class=\"menu\" onMouseover=\"activateMenu(10,46,300)\">\
<table WIDTH=\"200\" BORDER=\"0\" BGCOLOR=\"#FFFFFF\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\">\
<tr><TD>\
<table WIDTH=\"200\" BORDER=\"0\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"1\">\
<TR><TD BGCOLOR=\"#5A99C8\" CLASS=\"tbl\" ALIGN=\"LEFT\" HEIGHT=\"17\"><A HREF=\"/grinding-mill.html#spice-grinder\"><B>Spice Grinder</B></A></TD></TR></table></TD></tr></table>\
</DIV>");

document.write("<DIV id=\"menu11\" class=\"menu\" onMouseover=\"activateMenu(11,46,320)\">\
<table WIDTH=\"200\" BORDER=\"0\" BGCOLOR=\"#FFFFFF\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\">\
<tr><TD>\
<table WIDTH=\"200\" BORDER=\"0\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"1\">\
<TR><TD BGCOLOR=\"#5A99C8\" CLASS=\"tbl\" ALIGN=\"LEFT\" HEIGHT=\"17\"><A HREF=\"/emery-stone.html#vertical-emery-stone\"><B>Vertical Emery Stone</B></A></TD></TR></table></TD></tr></table>\
</DIV>");

document.write("<DIV id=\"menu12\" class=\"menu\" onMouseover=\"activateMenu(12,46,340)\">\
<table WIDTH=\"200\" BORDER=\"0\" BGCOLOR=\"#FFFFFF\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\">\
<tr><TD>\
<table WIDTH=\"200\" BORDER=\"0\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"1\">\
<TR><TD BGCOLOR=\"#5A99C8\" CLASS=\"tbl\" ALIGN=\"LEFT\" HEIGHT=\"17\"><A HREF=\"/cement-plant.html#mini-cement-plant\"><B>Mini Cement Plant</B></A></TD></TR></table></TD></tr></table>\
</DIV>");

document.write("<DIV id=\"menu13\" class=\"menu\" onMouseover=\"activateMenu(13,46,360)\">\
<table WIDTH=\"200\" BORDER=\"0\" BGCOLOR=\"#FFFFFF\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\">\
<tr><TD>\
<table WIDTH=\"200\" BORDER=\"0\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"1\">\
<TR><TD BGCOLOR=\"#5A99C8\" CLASS=\"tbl\" ALIGN=\"LEFT\" HEIGHT=\"17\"><A HREF=\"/clinker-grinding-unit.html#clinker-grinding-unit\"><B>Clinker Grinding Unit</B></A></TD></TR></table></TD></tr></table>\
</DIV>");
document.write("<DIV id=\"menu14\" class=\"menu\" onMouseover=\"activateMenu(14,46,380)\">\
<table WIDTH=\"200\" BORDER=\"0\" BGCOLOR=\"#FFFFFF\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\">\
<tr><TD>\
<table WIDTH=\"200\" BORDER=\"0\" VSPACE=\"0\" HSPACE=\"0\" CELLPADDING=\"0\" CELLSPACING=\"1\">\
<TR><TD BGCOLOR=\"#5A99C8\" CLASS=\"tbl\" ALIGN=\"LEFT\" HEIGHT=\"17\"><A HREF=\"/processing-plants.html#mineral-grinding-plant\"><B>Mineral Grinding Plant</B></A></TD></TR></table></TD></tr></table>\
</DIV>");

}

//-->

//
