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=2;




with(menuStyle=new mm_style()){
bordercolor="#649941";
borderstyle="none";
borderwidth=0;
fontfamily="Arial";
fontsize="14pt";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#ffffff";
offcolor="#447ebc";
onbgcolor="#ffffff";
oncolor="#649941";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=100);";
padding=2;
pagebgcolor="#ffffff";
pagecolor="#447ebc";
separatorcolor="#ffffff";
separatorsize=0;
subimage="";
subimagepadding=2;
}

with(submenuStyle=new mm_style()){
bordercolor="#296488";
borderstyle="none";
borderwidth=0;
fontfamily="Verdana, Tahoma, Arial";
fontsize="75%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#ffffff";
offcolor="#649941";
onbgcolor="#ffffff";
oncolor="#336699";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color=#777777', Direction=135, Strength=5)";
padding=2;
pagebgcolor="#ffffff";
pagecolor="black";
separatorcolor="#ffffff";
separatorsize=2;
subimage="images/arrow.gif";
subimagepadding=2;
}
with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
left=22;
orientation="vertical";
style=menuStyle;
top=330;
aI("text=Home;url=index.php;");
aI("text=Participant Info;showmenu=participant;url=participant.php");
aI("text=Course Info;showmenu=map;url=map.php");
aI("text=Entertainment;showmenu=entertainment;url=entertainment.php");
aI("text=Team Info;showmenu=team;url=team.php");
aI("text=Sponsors;url=sponsors.php");
aI("text=History;url=history.php");
aI("text=Training;showmenu=training;url=training.php");
aI("text=On-Line Entry;url=entry.php;");
aI("text=Results;showmenu=results;url=results.php;");
aI("text=Schools Training;showmenu=schools;url=stp1.php;");
aI("text=FAQ & Newsletters;url=faq.php;");
}

with(milonic=new menuname("participant")){
style=submenuStyle;
aI("text=Fundraising;url=participant.php#fundraising;");
aI("text=Entry Fees;url=participant.php#fees;");
aI("text=How to Enter;url=participant.php#how;");
aI("text=Deadlines;url=participant.php#dead;");
aI("text=Office Hours;url=participant.php#office;");
aI("text=Indemnity;url=participant.php#indemnity;");
aI("text=Fancy Dress;url=participant.php#dress;");
aI("text=Refreshments;url=participant.php#refreshments;");
aI("text=Baggage;url=participant.php#baggage;");
aI("text=Toilets;url=participant.php#toilets;");
aI("text=Massage;url=participant.php#massage;");
aI("text=First Aid;url=participant.php#aid;");
aI("text=Race Numbers/Timing;url=participant.php#numbers;");
aI("text=Race Results;url=participant.php#results;");
aI("text=Newsletters;url=participant.php#news;");
}


with(milonic=new menuname("team")){
style=submenuStyle;
aI("text=Entry Fees;url=team.php#fees;");
aI("text=Deadlines;url=team.php#deadlines;");
aI("text=Office Hours;url=team.php#office;");
aI("text=Indemnity;url=team.php#indemnity;");
aI("text=Charity Groups;url=team.php#charity;");
aI("text=Corporate Groups;url=team.php#corporate;");
aI("text=School Groups;url=team.php#school;");
aI("text=Community Groups;url=team.php#community;");
aI("text=Other Groups;url=team.php#other;");
aI("text=Team Co-ordinators;url=team.php#coord;");
aI("text=Advertising Material;url=team.php#advert;");
aI("text=Newsletters;url=team.php#news;");
}


with(milonic=new menuname("entertainment")){
style=submenuStyle;
aI("text=Entertainment;url=entertainment.php#entertainment;");
aI("text=Colley and Wigley Reserves;url=entertainment.php#reserve;");
aI("text=Merchandise;url=entertainment.php#merchandise;");
aI("text=Prizes;url=entertainment.php#prizes;");
aI("text=Team Awards;url=entertainment.php#awards;");
//aI("text=News Letters;url=entertainment.php#news;");
}

with(milonic=new menuname("map")){
style=submenuStyle;
aI("text=Course Map;url=map.php#course;");
aI("text=Transport;url=map.php#trans;");
aI("text=Route Instructions;url=map.php#route;");
aI("text=Start;url=map.php#start;");
aI("text=Finish;url=map.php#finish;");
aI("text=Parking;url=map.php#parking;");
aI("text=Road Closures;url=map.php#road;");
}

with(milonic=new menuname("training")){
style=submenuStyle;
aI("text=Workshops;url=training.php#work;");
aI("text=Training guide;url=training.php#guide;");
aI("text=Links;url=training.php#links;");
}

with(milonic=new menuname("results")){
style=submenuStyle;
aI("text=Results Lists;url=results.php;");
aI("text=Runner Summary;url=summary.php;");
aI("text=2009 Category Counts,Average & Fastest Times;url=age_avg.php;");
aI("text=<hr>;");
aI("text=Age Group Winners 2006;url=agewinners2006.php;");
aI("text=Age Group Winners 2007;url=agewinners2007.php;");
aI("text=Past Winners;url=pastwinners.php;");
}

with(milonic=new menuname("schools")){
style=submenuStyle;
aI("text=Teacher Info;url=stp1.php#teacher;");
aI("text=Parent Info;url=stp1.php#parent;");
aI("text=Student Info;url=stp1.php#student;");
aI("text=Training Program;url=stp1.php#train;");
aI("text=Warm up & Stretch;url=stp1.php#warm;");
aI("text=Nutrition;url=stp1.php#nutrition;");
aI("text=Other Info;url=stp1.php#other;");
}

drawMenus();

