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;




with(menuStyle=new mm_style()){
styleid=1;
bordercolor="#000000";
borderstyle="solid";
borderwidth=1;
fontfamily="Tahoma, Verdana, Arial";
fontsize="19px";
fontstyle="normal";
fontweight="bold";
headerbgcolor="#ffffff";
headercolor="#000000";
offcolor="#ffffff";
oncolor="#000000";
outfilter="fade(duration=0.5)";
overfilter="Fade(duration=0.0);Alpha(opacity=100)"//;Shadow(color=#777777', Direction=135, Strength=5)";
rawcss="padding-top:10px;padding-bottom:5px";
separatorcolor="#000000";
separatorsize=1;
subimagepadding=2;
}

with(submenuStyle=new mm_style()){
bordercolor="#000000";
borderstyle="solid";
borderwidth=1;
fontfamily="Tahoma, Verdana, Arial";
fontsize="15px";
fontstyle="normal";
fontweight="bold";
headercolor="#000000";
offbgcolor="#418ED6";
offcolor="#ffffff";
onbgcolor="#418ED6";
oncolor="#000000";
fontweight="bold";
outfilter="fade(duration=0.5)";
overfilter="Fade(duration=0.2);Alpha(opacity=95);Shadow(color=#777777', Direction=135, Strength=5)";
padding=6;
pagecolor="black";
separatorsize=1;
subimage="/new/menu/white_7x7.gif";
subimagepadding=8;
}

with(milonic=new menuname("Main Menu")){
style=menuStyle;
alwaysvisible=1;
orientation="horizontal";
position="relative"; 
aI("itemwidth=150;align=center;bgimage=/new/menu/multiorange.gif;showmenu=Home;text=Home;url=/new/;");
//aI("itemwidth=230;align=center;bgimage=/new/menu/multimustard.gif;showmenu=Information;text= 2009;url=/new/info/;");
aI("itemwidth=230;align=center;bgimage=/new/menu/multimustard.gif;showmenu=Information;text= Southland 2010;url=/new/info/;");
aI("itemwidth=121;align=center;bgimage=/new/menu/multiyellow.gif;showmenu=History;text=History;");
aI("itemwidth=125;align=center;bgimage=/new/menu/multigreen.gif;showmenu=Results;text=Results;");
aI("itemwidth=125;align=center;bgimage=/new/menu/multiblue.gif;showmenu=Resources;text=Resources;");
aI("itemwidth=150;align=center;bgimage=/new/menu/multipurple.gif;text=Updates;url=/new/updates.php;");
}

with(milonic=new menuname("Home")){
style=submenuStyle;
orientation="horizontal";
aI("text=Sitemap &amp; Search Engine;url=/new/sitemap.php;");
}

with(milonic=new menuname("Information")){
style=submenuStyle;
orientation="horizontal";
aI("text=Home;url=/new/info/;");
//aI("text=Results;url=/new/results/2009/;");
//aI("text=Teams Draw;url=/new/info/teams.php;");
aI("text=Forms;url=/new/info/forms.php;");
aI("text=Newsletters;url=/new/info/newsletters.php;");
aI("text=Team Nominations;url=/new/info/nominations.php;");
aI("text=Rider Register;url=/new/info/register.php;");
aI("text=Sponsors;url=/new/info/sponsors.php;");
}

with(milonic=new menuname("History")){
style=submenuStyle;
orientation="horizontal";
aI("text=Competition;url=/new/history/competition.php;");
aI("text=Website;url=/new/history/website.php;");
}

with(milonic=new menuname("Results")){
style=submenuStyle;
orientation="horizontal";
//aI("text=2012;url=/new/results/2012/;");
//aI("text=2011;url=/new/results/2011/;");
//aI("text=2010;url=/new/results/2010/;");
aI("text=2009;url=/new/results/2009/;");
aI("text=2008;url=/new/results/2008/;");
aI("text=2007;url=/new/results/2007/;");
aI("text=2006;url=/new/results/2006/;");
aI("text=2005;url=/new/results/2005/;");
aI("text=2004;url=/new/results/2004/;");
aI("text=2003;url=/new/results/2003/;");
aI("text=2002;url=/new/results/2002/;");
aI("text=2001;url=/new/results/2001/;");
aI("text=Historical;url=/new/results/historical.php;");
}

with(milonic=new menuname("Resources")){
style=submenuStyle;
orientation="horizontal";
aI("text=Competition Resources;showmenu=Competition Resources;url=/new/resources/competition.php;");
aI("text=Delegate Meetings;url=/new/resources/meetings.php;");
aI("text=Guardians;url=/new/resources/guardians.php;");
aI("text=Organising Resources;url=/new/resources/organising.php;");
aI("text=Rules;url=/new/resources/rules.php;");
}

with(milonic=new menuname("Competition Resources")){
style=submenuStyle;
orientation="horizontal";
aI("text=Fence Judges Briefing;url=/new/resources/competition/fencejudges.php;");
aI("text=Query/Objection Procedure;url=/new/resources/competition/query_procedure.pdf;image=/new/images/pdf.gif;");
aI("text=Query/Objection Form;url=/new/resources/competition/query_protest.pdf;image=/new/images/pdf.gif;");

}

drawMenus();

