fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=1500;
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=-2;

with(menuStyle=new mm_style()){
styleid=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="10pt";
fontweight="bold";
headerbgcolor="#ffffff";
headercolor="#000000";
offcolor="#ffffff";
oncolor="#000000";
outfilter="fade(duration=0.5)";
//pagecolor="black";
rawcss="padding-top:4px;padding-bottom:1px;";
separatorcolor="#000000";
separatorheight=35;
separatorsize=1;
menuwidth=1000;
menualign="center";
screenposition="center"; 
itemwidth=165;
itemheight=35;
alwaysvisible=1;
orientation="horizontal";
bordercolor='#000000';
borderstyle='solid';
borderwidth=1;
}

with(submenuStyle=new mm_style()){
bordercolor='#000000';
borderstyle='solid';
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="8pt";
fontweight="normal";
headercolor="#000000";
offbgcolor="#E4E4E4";
offcolor="#000000";
onbgcolor="#ffffff";
oncolor="#747A75";
outfilter="fade(duration=0.5)";
padding=2;
//pagecolor="black";
subimage="/scripts/menu/9x6_rightbend_grey.gif";
subimagepadding=8;
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
itemheight=21;
orientation="horizontal";
style=menuStyle;
followscroll="1"
rawcss="margin-top:5px;";
aI("itemwidth=35;align=left;image=/scripts/menu/home-button.jpg;overimage=/scripts/menu/home-button-hover.jpg;url=/index.html;");
aI("itemwidth=147;align=center;bgimage=/scripts/menu/menuback1.jpg;overbgimage=/scripts/menu/menuback2.jpg;showmenu=Accumulators;text=Accumulators;url=/hydro-pneumatic-accumulators/index.html;");
aI("itemwidth=147;align=center;bgimage=/scripts/menu/menuback1.jpg;overbgimage=/scripts/menu/menuback2.jpg;showmenu=Dampeners;text=Dampeners;url=/pressure-pulsation-dampeners/index.html;");
aI("itemwidth=147;align=center;bgimage=/scripts/menu/menuback1.jpg;overbgimage=/scripts/menu/menuback2.jpg;showmenu=Alleviators;text=Alleviators;url=/surge-and-hammer-alleviators/index.html;");
aI("itemwidth=35;align=left;image=/scripts/menu/pump-button.jpg;overimage=/scripts/menu/pump-button-hover.jpg;url=/pump-type-definitions/index.html;");
aI("itemwidth=147;align=center;bgimage=/scripts/menu/menuback1.jpg;overbgimage=/scripts/menu/menuback2.jpg;showmenu=Compensators;text=Compensators;url=/heave-motion-compensators/index.html;");
aI("itemwidth=147;align=center;bgimage=/scripts/menu/menuback1.jpg;overbgimage=/scripts/menu/menuback2.jpg;showmenu=Packages;text=Packages;url=/hydraulic-skid-packages/index.html;");
aI("itemwidth=147;align=center;bgimage=/scripts/menu/menuback1.jpg;overbgimage=/scripts/menu/menuback2.jpg;showmenu=Specials;text=Specials;url=/special-pressure-vessels/index.html;");
aI("itemwidth=35;align=left;image=/scripts/menu/contact-button.jpg;overimage=/scripts/menu/contact-button-hover.jpg;url=/contact.html;");
}

with(milonic=new menuname("Accumulators")){
itemheight=21;
itemwidth=126;
style=submenuStyle;
orientation="horizontal";
menualign="center";
screenposition="center"; 
aI("itemwidth=162;text=Magnetic position Indicating;url=/hydro-pneumatic-accumulators/magnetic-position-indicating.html;");
aI("itemwidth=162;text=Tail Rod Volume Indicating;url=/hydro-pneumatic-accumulators/tail-rod-volume-indicating.html;");
aI("itemwidth=175;text=Ultra High Response Reliability;url=/hydro-pneumatic-accumulators/ultra-high-response-reliability.html;");
aI("itemwidth=162;text=Sure Glyde Piston Type;url=/hydro-pneumatic-accumulators/light-weight-piston-type.html;");
aI("itemwidth=162;text=One Piece Bladder Type;url=/hydro-pneumatic-accumulators/cs-one-piece-bladder-type.html;");
aI("itemwidth=150;text=More...;url=/hydro-pneumatic-devices/index.html;");
}


with(milonic=new menuname("Dampeners")){
itemheight=21;
itemwidth=126;
style=submenuStyle;
orientation="horizontal";
menualign="center";
screenposition="center"; 
aI("itemwidth=162;text=Gas in Bladder Types;url=/pressure-pulsation-dampeners/gas-in-bladder-types/index.html;");
aI("itemwidth=162;text=Liquid in Bladder Types;url=/pressure-pulsation-dampeners/liquid-in-bladder-types/index.html;");
aI("itemwidth=162;text=Teflon Diaphragm Types;url=/pressure-pulsation-dampeners/teflon-diaphragm-types/index.html;");
aI("itemwidth=162;text=High Viscosity and Slurry;url=/pressure-pulsation-dampeners/high-viscosity-and-slurry/index.html;");
aI("itemwidth=162;text=No Moving Parts;url=/pressure-pulsation-dampeners/no-moving-parts-types/index.html;");
aI("itemwidth=162;text=More...;url=/hydro-pneumatic-devices/index.html;");
}

with(milonic=new menuname("Alleviators")){
itemheight=21;
itemwidth=126;
style=submenuStyle;
orientation="horizontal";
menualign="center";
screenposition="center"; 
aI("itemwidth=195;text=For Non Corrosive Liquids;url=/surge-and-hammer-alleviators/for-non-corrosive-liquids.html;");
aI("itemwidth=195;text=For Corrosive Liquids;url=/surge-and-hammer-alleviators/for-corrosive-liquids.html;");
aI("itemwidth=195;text=Large Float Type;url=/surge-and-hammer-alleviators/large-float-type.html;");
aI("itemwidth=195;text=Stainless Bellows Type;url=/surge-and-hammer-alleviators/stainless-bellows-type.html;");
aI("itemwidth=195;text=More...;url=/hydro-pneumatic-devices/index.html;");
}

with(milonic=new menuname("Compensators")){
itemheight=21;
itemwidth=126;
style=submenuStyle;
orientation="horizontal";
menualign="center";
screenposition="center"; 
}

with(milonic=new menuname("Packages")){
itemheight=21;
itemwidth=126;
style=submenuStyle;
orientation="horizontal";
menualign="center";
screenposition="center"; 
}

with(milonic=new menuname("Specials")){
itemheight=21;
itemwidth=126;
style=submenuStyle;
orientation="horizontal";
menualign="center";
screenposition="center"; 
}

drawMenus();


