fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=0;
_subOffsetLeft=0;




with(horizStyle=new mm_style()){
bordercolor="#999999";
borderstyle="solid";
borderwidth=1;
fontfamily="arial, tahoma";
fontsize="100%";
fontstyle="normal";
headerbgcolor="#AFD1B5";
headerborder=1;
headercolor="#000099";
offbgcolor="#08598C";  //"#A8C5D7";
offcolor="#FFFFFF";  //"#000000";
onbgcolor="#FEFAD2";
onborder="1px solid #999999";
oncolor="#000000";
onsubimage="./images/on_downboxed.gif";
overbgimage="./images/backon_beige.gif";
padding=3;
pagebgcolor="#CFE2D1";
pagecolor="#000066";
pageimage="./images/db_red.gif";
separatoralign="right";
separatorcolor="#000000";
separatorwidth="100%";
subimage="./images/downboxed.gif";
}

with(vertStyle=new mm_style()){
styleid=1;
bordercolor="#999999";
borderstyle="solid";
borderwidth=1;
fontfamily="arial, tahoma";
fontsize="100%";
fontstyle="normal";
headerbgcolor="#AFD1B5";
headerborder=1;
headercolor="#000099";
image="./images/18_blank.gif";
imagepadding=3;
menubgimage="./images/backoff_blue.gif";
offbgcolor="transparent";
offcolor="#000000";
onbgcolor="#FEFAD2";
onborder="1px solid #999999";
oncolor="#000000";
onsubimage="./images/on_13x13_greyboxed.gif";
outfilter="randomdissolve(duration=0.2)";
overfilter="Fade(duration=0.1);Alpha(opacity=95);Shadow(color=#777777', Direction=135, Strength=3)";
padding=3;
pagebgcolor="#CFE2D1";
pagecolor="#000066";
pageimage="./images/db_red.gif";
separatoralign="right";
separatorcolor="#999999";
separatorpadding=1;
separatorwidth="85%";
subimage="./images/black_13x13_greyboxed.gif";
menubgcolor="#A8C5D7";
}

with(milonic=new menuname("Sample mainmenu")){
alwaysvisible=1;
screenposition="center";
//left=150; //"offset=-120";
margin=2;
orientation="horizontal";
style=horizStyle;
top=100;
aI("showmenu=Waste Water;text=Waste Water Products;");
aI("showmenu=Drainage Products;text=Drainage Products;");
aI("showmenu=Access Covers;text=Access Covers;");
aI("showmenu=Environmental Products;text=Environmental Products;");
aI("showmenu=Environmental Accessories;text=Environmental Accessories;");
aI("showmenu=Environmental Services;text=Environmental Services;");
aI("showmenu=Locations;text=Locations;");
}

with(milonic=new menuname("Waste Water")){
margin=3;
style=vertStyle;
top="offset=2";
aI("image=../images/iconLists.gif;text=PE Maintenance Shafts;url=pp.html;");
aI("image=../images/iconLists.gif;text=PE Rodding Eyes;url=jp.html;");
aI("image=../images/iconLists.gif;text=PE Mini Manholes;url=mm.html;");
aI("image=../images/iconLists.gif;text=PE Access Chambers;url=ac.html;");
aI("image=../images/iconLists.gif;text=PE Vacuum Pits;url=vp.html;");
}

with(milonic=new menuname("Drainage Products")){
margin=3;
style=vertStyle;
top="offset=2";
aI("image=../images/iconLists.gif;text=Adjustment Rings;url=mar.html;");
}

with(milonic=new menuname("Access Covers")){
margin=3;
style=vertStyle;
aI("image=../images/iconLists.gif;text=PE Maintenance Shaft Cover;url=th.html;");
aI("image=../images/iconLists.gif;text=PE 600mm Manhole Cover;separatorsize=1;url=mc.html;");
aI("image=../images/iconLists.gif;text=Iron Maintenance Shaft Cover;;");
aI("image=../images/iconLists.gif;text=Iron Manhole Cover;;");
}

with(milonic=new menuname("Environmental Products")){
margin=3;
style=vertStyle;
top="offset=2";
aI("image=../images/iconLists.gif;text=Eco Bite Pollutant Trap;url=eb.html;");
aI("image=../images/iconLists.gif;text=Retro Bite;url=rb.html;");
aI("image=../images/iconLists.gif;text=SlipStream;url=ss.html;");
aI("image=../images/iconLists.gif;text=BacStream;url=bs.html;");
aI("image=../images/iconLists.gif;text=HydroStream;url=hys.html;");
aI("image=../images/iconLists.gif;text=WashStream;url=ws.html;");
aI("image=../images/iconLists.gif;text=HighStream;url=hs.html;");
aI("image=../images/iconLists.gif;text=InfillStream;url=is.html;");
}

with(milonic=new menuname("Environmental Accessories")){
margin=3;
style=vertStyle;
top="offset=2";
aI("image=../images/iconLists.gif;text=Isolation/Gate Valves;url=igv.html;");
aI("image=../images/iconLists.gif;text=Point Of Source;url=pos.html;");
}

with(milonic=new menuname("Environmental Services")){
margin=3;
style=vertStyle;
aI("image=../images/iconLists.gif;text=Monitoring Pollutant Traps;url=cmg.html;");
aI("image=../images/iconLists.gif;text=Cleaning Guidelines;url=cmi.html;");
aI("image=../images/iconLists.gif;text=Cleaning Pollutant Traps;url=cm.html;");
}

with(milonic=new menuname("Locations")){
margin=3;
style=vertStyle;
aI("image=../images/iconLists.gif;text=Australia;url=locations.html;");
aI("image=../images/iconLists.gif;text=New Zealand;url=locationsnz.html;");
aI("image=../images/iconLists.gif;text=Distributors;url=distributors.html;");
}

with(milonic=new menuname("Australia")){
margin=3;
overflow="scroll";
style=vertStyle;
aI("text=Metropolitan NSW;url=loc.htm;");
aI("text=Country NSW;url=loc.htm;");
aI("text=Victoria;url=loc.htm;");
aI("text=Tasmania;url=loc.htm;");
aI("text=Central Queensland;url=loc.htm;");
aI("text=North Queensland;url=loc.htm;");
aI("text=South Australia;url=loc.htm;");
aI("text=Western Australia;url=loc.htm;");
aI("text=Northern Territory;url=loc.htm;");
}

with(milonic=new menuname("New Zealand")){
margin=3;
style=vertStyle;
aI("text=North Island;url=loc.htm;");
aI("text=South Island;url=loc.htm;");
}

with(milonic=new menuname("Distributors")){
margin=3;
style=vertStyle;
top="offset=2";
aI("text=LEAP Australia;url=http://www.leap.com.au;");
aI("text=Reece Plumbing;url=http://www.reece.com.au;");
aI("text=Tradelink;url=http://www.tradelink.com.au;");
aI("text=Tyco;url=http://www.tyco.com.au;");
aI("text=Vinidex;url=http://www.vinidex.com.au;");
}

with(milonic=new menuname("Sample search")){
margin=3;
style=vertStyle;
top="offset=2";
aI("text=SEARCH;");
}

with(milonic=new menuname("Sample products")){
margin=3;
style=vertStyle;
top="offset=2";
aI("image=http://www.milonic.com/menuimages/18_purchase.gif;text=Product Pricing & Purchasing;url=/pricing.php;");
aI("text=SCombo;url=/scombo/index.php;");
aI("text=Tooltips (Coming Soon);url=/tooltips.php;");
aI("image=http://www.milonic.com/menuimages/18_color.gif;text=Color Picker;url=/colorpicker.php;");
aI("image=http://www.milonic.com/menuimages/calendar.gif;text=Date Picker/Calendar;url=/datepicker.php;");
aI("showmenu=Sample tools;text=Free Tools;");
}

with(milonic=new menuname("Sample tools")){
margin=3;
style=vertStyle;
aI("image=http://www.milonic.com/menuimages/18_compress.gif;text=JavaScript Compressor;url=/jscompactor.php;");
aI("image=http://www.milonic.com/menuimages/18_probe.gif;text=Web Server Probe;url=/probe.php;");
aI("image=http://www.milonic.com/menuimages/18_whois.gif;text=Whois Domain Name Lookup;url=/whois.php;");
}

drawMenus();

