fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=450;
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=-2;




with(menuStyle=new mm_style()){
fontfamily="verdana";
fontsize="65%";
fontweight="bold";
fontstyle="normal";
offbgcolor="#ffffff";
offcolor="#676767";
onbgcolor="#fe7e00";
oncolor="#ffffff";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=100)";
padding=7;
separatorcolor="#dddada";
separatorsize=1;
subimage="images/arrow.gif";
subimagepadding=2;
}

with(submenuStyle=new mm_style()){
fontfamily="verdana";
fontsize="65%";
fontweight="normal";
fontstyle="normal";
offbgcolor="#616060";
offcolor="#ffffff";
onbgcolor="#f2f2f2";
oncolor="#898989";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=1)";
padding=4;
separatorcolor="#f2f2f2";
separatorsize=1;
subimage="images/arrow.gif";
subimagepadding=4;
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=0;
left=100;
orientation="horizontal";
style=menuStyle;
top=400;
aI("showmenu=Company;text=Company;");
aI("text=Services;url=services.html;target=fr_main;");
aI("showmenu=Software;text=iRally;");
aI("showmenu=Hardware;text=Hardware;");
aI("text=Support;url=support.php;target=fr_main;");
aI("text=Results Archive;url=archive.html;target=fr_main;");
}

with(milonic=new menuname("Company")){
style=submenuStyle;
aI("text=Welcome;url=welcome.php;target=fr_main;");
aI("text=Contact Us;url=contact.html;target=fr_main;");
}

with(milonic=new menuname("Software")){
style=submenuStyle;
aI("text=What is it?;url=software/irally1.html;target=fr_main;");
aI("text=Features;url=software/irally2.html;target=fr_main;");
aI("text=Levels & Licensing;url=software/irally3.html;target=fr_main;");
}

with(milonic=new menuname("Hardware")){
style=submenuStyle;
aI("text=Rally - Regularity;url=hardware/rally.html;target=fr_main;");
aI("text=Enduro;url=hardware/enduro.html;target=fr_main;");
}

drawMenus();
