
fixMozillaZIndex=true;         //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;           // The time delay for menus to remain visible on mouse out
_menuOpenDelay=150;            // The time delay before menus open on mouse over
_subOffsetTop=50;              // Sub menu top offset
_subOffsetLeft=-20;           // Sub menu left offset



with(Style1=new mm_style()){
onbgcolor="#0099cc";
oncolor="#ffffff";
offbgcolor="#0099cc";
offcolor="#ffffff";
separatorcolor="#666666";
separatorsize="1";
padding=3;
imagepadding=4;
subimagepadding=4;
fontsize="85%";
fontstyle="Bold";
fontfamily="Verdana, Tahoma, Arial";
pagecolor="#d0c881";
pagebgcolor="#006699";
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="downarrow1_white_9x6.gif";
onsubimage="downarrow1_black_9x6.gif";
subimagepadding="2";
overfilter="Fade(duration=0.2);Alpha(opacity=90)";
}

with(Style2=new mm_style()){
onbgcolor="#ffffff";
oncolor="#0000ff";
offbgcolor="#d0c881";
offcolor="#000000";
align="left";
separatorcolor="#2D729D";
separatorsize="1";
padding=4;
fontsize="75%";
fontstyle="bold";
fontfamily="Verdana, Tahoma, Arial";
pagecolor="#000000";
pagebgcolor="#cccccc";
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="downarrow1_black_9x6.gif";
subimagepadding="2";
overfilter="Fade(duration=0.2);Alpha(opacity=85);Shadow(color='#777777', Direction=135, Strength=5)";
}

with(Style3=new mm_style()){
onbgcolor="#ffffff";
oncolor="#0000ff";
offbgcolor="#f0f0f0";
offcolor="#000000";
align="left";
separatorcolor="#2D729D";
separatorsize="1";
padding=4;
fontsize="70%";
fontstyle="bold";
fontfamily="Verdana, Tahoma, Arial";
pagecolor="#000000";
pagebgcolor="#cccccc";
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="downarrow1_black_9x6.gif";
subimagepadding="2";
overfilter="Fade(duration=0.2);Alpha(opacity=85);Shadow(color='#777777', Direction=135, Strength=5)";
}

with(milonic=new menuname("Main Menu")){
style=Style1;
menuheight=20;
position="relative";
alwaysvisible=1;
orientation="horizontal";
aI("image=server.gif;text=Systems;showmenu=system;");
aI("image=gears.gif;text=Service;url=service.aspx;");
aI("image=support.gif;text=Support;showmenu=info;");
aI("image=images/gauge16.gif;text=Monitoring;showmenu=monitoring;");
}

with(milonic=new menuname("system")){
style=Style2;
overflow="scroll";
aI("image=bullet_ball_glass_yellow.gif;text=CellarTec Split Systems;url=splitsystems.aspx;");
aI("image=bullet_ball_glass_yellow.gif;text=CellarTec Controls;url=smartcontrols.aspx;");
aI("image=bullet_ball_glass_yellow.gif;text=Get a Quote;url=quote.aspx;");
}

with(milonic=new menuname("service")){
style=Style2;
overflow="scroll";
aI("image=bullet_ball_glass_yellow.gif;text=Repair & Service;url=service.aspx;");
aI("image=bullet_ball_glass_yellow.gif;text=Cellar Monitoring;url=monitoring.aspx;");
}

with(milonic=new menuname("info")){
style=Style2;
overflow="scroll";
aI("image=bullet_ball_glass_yellow.gif;text=Request Service;url=service_request.aspx;");
aI("image=bullet_ball_glass_yellow.gif;text=Contacts;url=contact.aspx;");
aI("image=bullet_ball_glass_yellow.gif;text=Frequently Asked Questions;url=faq.aspx");
}
with(milonic=new menuname("cs")){
style=Style3;
overflow="scroll";
aI("image=user_headset.gif;text=Contacts;url=contact.aspx;");
}
with(milonic=new menuname("monitoring")){
style=Style2;
overflow="scroll";
aI("image=bullet_ball_glass_yellow.gif;text=Log In;url=login.aspx;");
aI("image=bullet_ball_glass_yellow.gif;text=Dashboard;url=dashboard.aspx;");
aI("image=bullet_ball_glass_yellow.gif;text=Create New Account;url=newuser.aspx;");
aI("image=bullet_ball_glass_yellow.gif;text=About Monitoring;url=monitoring.aspx");
}
drawMenus();
