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=2;
_subOffsetLeft=-2;
buildAfterLoad=true;




with(menuMainStyle=new mm_style()){
bordercolor="#296488";
//borderstyle="solid";
//borderwidth=0;
fontfamily="Tahoma, Arial, Sans-Serif";
fontsize="20px";
fontstyle="normal";
fontweight="900";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#cccccc";
offcolor="#000000";
onbgcolor="#cccccc";
oncolor="#ff0000";
//outfilter="randomdissolve(duration=0.3)";
//overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=5)";
padding=5;
pagebgcolor="#CCCCCC";
pagecolor="black";
separatorcolor="#CCCCCC";
separatorsize=0;
subimage="/warrow.gif";
subimagepadding=2;
}


with(menuStyle=new mm_style()){
bordercolor="#888888";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="80%";
fontstyle="normal";
fontweight="900";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#cccccc";
offcolor="#000000";
onbgcolor="#cccccc";
oncolor="#ff0000";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=5)";
padding=5;
pagebgcolor="#CCCCCC";
pagecolor="black";
separatorcolor="#888888";
separatorsize=1;
subimage="/warrow.gif";
subimagepadding=2;
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
overflow="scroll";
style=menuMainStyle;
position="relative";
aI("text=HOME;url=/default.aspx;");
aI("showmenu=Residential;text=RESIDENTIAL;url=/residential.aspx");
aI("showmenu=Corporate;text=COMMERCIAL;url=/commercial.aspx");
aI("showmenu=Industry;text=INDUSTRIES;");
aI("showmenu=Specials;text=SPECIALS;");
aI("text=CONTACT;url=/contact_us.aspx");
}

with(milonic=new menuname("Industry")){
overflow="scroll";
style=menuStyle;
aI("text=Schools and Education;url=/education.aspx");
aI("text=Corporate and Commercial;url=/corporate.aspx");
aI("text=Entertainment and Hospitality;url=/entertainment.aspx");
aI("text=Clubs - Sporting, Social and Other;url=/ent_clubs.aspx");
aI("text=Churches and Places of Worship;url=/ent_churches.aspx");
aI("text=Theatre and Stage;url=/ent_theatre.aspx");
aI("text=Oil, Gas and Mining;url=/ent_oil.aspx");
}

with(milonic=new menuname("Residential")){
overflow="scroll";
style=menuStyle;
aI("text=Closed Circuit TV - CCTV;url=/cctv.aspx");
aI("text=Home Automation Systems;url=/home_automation.aspx");
aI("text=Home Lighting Systems;url=/lighting_control.aspx");
aI("text=Home Theatre;url=/home_theatre.aspx");
aI("text=Multi-Room Audio Systems;url=/multiroom_audio.aspx");
aI("text=Structured Cabling;url=/structured_cabling.aspx");
aI("text=Video Entry Systems;url=/video_entry.aspx");
}

with(milonic=new menuname("Corporate")){
style=menuStyle;
aI("text=Amplifiers;url=/amplifiers.aspx");
aI("text=Audio/Visual Trolleys;url=/trolleys.aspx");
aI("text=Control Systems;url=/control_systems.aspx");
aI("text=Hearing Assistance;url=/hearing_assistance.aspx");
aI("text=Lecterns;url=/lecterns.aspx");
aI("text=Lighting;url=/lighting.aspx");
aI("text=Microphones;url=/microphones.aspx");
aI("text=Mixers;url=/mixers.aspx");
aI("text=Portable Public Address Systems;url=/portable_pa.aspx");
aI("text=Public Address Systems;url=/pa.aspx");
aI("text=Screens and Projectors;url=/screens_projectors.aspx");
aI("text=Speakers;url=/speakers.aspx");
}

with(milonic=new menuname("Catalog")){
style=menuStyle;

aI("text=Item 3;");
aI("text=Item 4;");
}

with(milonic=new menuname("Specials")){
style=menuStyle;
aI("text=Complete Home Theatre System;url=/special_3.aspx");
aI("text=Portable PA System;url=/special_1.aspx");
aI("text=PA Speakers on Stands;url=/special_2.aspx");
aI("text=Multi-Room Audio System;url=/special_4.aspx");
}

drawMenus();

