fixMozillaZIndex=true; //Fixes Z-Index problem with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=110;
_subOffsetTop=0;
_subOffsetLeft=0;

with(menuStyle=new mm_style()){
styleid=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="8pt";
fontweight="normal";
headerbgcolor="#ffffff";
headercolor="#ffffff";
offcolor="#ffffff";
oncolor="#ffffff";
outfilter="fade(duration=0.5)";
pagecolor="white";
rawcss="padding-top:1px;padding-bottom:1px";
separatorcolor="#FFFFFF";
separatorheight=0;
separatorsize=1;
}

with(submenuStyle=new mm_style()){
bordercolor="#FFFFFF";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="8pt";
fontweight="normal";
headercolor="#FFFFFF";
offbgcolor="#01009C";
offcolor="#FFFFFF";
onbgcolor="#314177";
oncolor="#FFFFFF";
outfilter="fade(duration=0.5)";
separatorheight=1;
padding=3;
pagecolor="white";
subimage="/images/menus/arrow.gif";
subimagepadding=8;
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
itemheight=21;
itemwidth=110;
left=0;
top=0;
position="relative";
orientation="horizontal";
style=menuStyle;
aI("align=center;bgimage=/images/menus/item.gif;overbgimage=/images/menus/item_mouseover.gif;showmenu=Discover Korfball;text=Discover Korfball;");
aI("align=center;bgimage=/images/menus/item.gif;overbgimage=/images/menus/item_mouseover.gif;showmenu=Competition;text=Competition;");
aI("align=center;bgimage=/images/menus/item.gif;overbgimage=/images/menus/item_mouseover.gif;showmenu=News Archive;text=News Archive;url=index.php?p=news/news");
aI("align=center;bgimage=/images/menus/item.gif;overbgimage=/images/menus/item_mouseover.gif;showmenu=Events;text=Events;url=index.php?p=events/events");
aI("align=center;bgimage=/images/menus/item.gif;overbgimage=/images/menus/item_mouseover.gif;showmenu=Committee;text=Committee;");
aI("align=center;bgimage=/images/menus/item.gif;overbgimage=/images/menus/item_mouseover.gif;showmenu=Resources;text=Resources;");
aI("align=center;bgimage=/images/menus/item.gif;overbgimage=/images/menus/item_mouseover.gif;showmenu=Contact Us;text=Contact Us;url=index.php?p=players/committee");
}



with(milonic=new menuname("Competition")){
itemheight=21;
itemwidth=110;
style=submenuStyle;
aI("showmenu=Fixtures;text=Fixtures;");
aI("showmenu=Tables;text=Tables;");
aI("showmenu=Results;text=Results;");
aI("showmenu=GoalScorers;text=Goal Scorers;");
aI("text=Gallery;url=http://www.englandkorfball.co.uk/events/london-regional-league-1-2011-12/gallery.htm;");
aI("text=Venue Finder;url=index.php?p=competition/venues_eka;");
/*aI("text=Goals table;url=index.php?p=competition/goals;");*/
aI("text=LKA Clubs;url=index.php?p=competition/clubs;");
aI("text=Club Finder;url=http://www.englandkorfball.co.uk/clubfinder.aspx;");
aI("text=LKA League Rules;url=http://www.londonkorfball.co.uk/resources/LKALeagueRules2011-12.pdf;"); /* noted repeated below */
aI("text=Juniors;url=index.php?p=competition/juniors;");
/* aI("text=Representatives;url=index.php?p=competition/representatives;"); */
}

with(milonic=new menuname("Committee")){
itemheight=21;
itemwidth=110;
style=submenuStyle;
aI("text=LKA Committee;url=index.php?p=players/committee;");
aI("text=Contact Details;url=index.php?p=players/short_contacts;");
}

with(milonic=new menuname("Tables")){
itemheight=21;
itemwidth=110;
style=submenuStyle;
aI("text=LKA Regional League 1;url=http://www.englandkorfball.co.uk/events/london-regional-league-1-2011-12/tables.htm;target=_BLANK");
aI("text=LKA League 2;url=http://www.englandkorfball.co.uk/events/london-league-2-2011-12/tables.htm;target=_BLANK");
aI("text=LKA League 3;url=http://www.englandkorfball.co.uk/events/london-league-3-2011-12/tables.htm;target=_BLANK");
aI("text=Archive League Tables;url=index.php?p=competition/standings;");
}

with(milonic=new menuname("Results")){
itemheight=21;
itemwidth=110;
style=submenuStyle;
aI("text=LKA Regional League 1;url=http://www.englandkorfball.co.uk/events/london-regional-league-1-2011-12/results.htm;target=_BLANK");
aI("text=LKA League 2;url=http://www.englandkorfball.co.uk/events/london-league-2-2011-12/results.htm;target=_BLANK");
aI("text=LKA League 3;url=http://www.englandkorfball.co.uk/events/london-league-3-2011-12/results.htm;target=_BLANK");
aI("text=Archive League Results;url=index.php?p=competition/results;");
}

with(milonic=new menuname("GoalScorers")){
itemheight=21;
itemwidth=110;
style=submenuStyle;
aI("text=LKA Regional League 1;url=http://www.englandkorfball.co.uk/events/london-regional-league-1-2011-12/scorers.htm;target=_BLANK");
aI("text=LKA League 2;url=http://www.englandkorfball.co.uk/events/london-league-2-2011-12/scorers.htm;target=_BLANK");
aI("text=LKA League 3;url=http://www.englandkorfball.co.uk/events/london-league-3-2011-12/scorers.htm;target=_BLANK");
}


with(milonic=new menuname("Fixtures")){
itemheight=21;
itemwidth=110;
style=submenuStyle;
aI("text=LKA Regional League 1;url=http://www.englandkorfball.co.uk/events/london-regional-league-1-2011-12/fixtures.htm;target=_BLANK");
aI("text=LKA League 2;url=http://www.englandkorfball.co.uk/events/london-league-2-2011-12/fixtures.htm;target=_BLANK");
aI("text=LKA League 3;url=http://www.englandkorfball.co.uk/events/london-league-3-2011-12/fixtures.htm;target=_BLANK");
}




with(milonic=new menuname("Discover Korfball")){
itemheight=21;
itemwidth=110;
style=submenuStyle;
aI("text=Introduction;url=index.php?p=discover/intro;");
aI("text=Aim of the game;url=index.php?p=discover/aim_of_the_game;");
aI("text=Korfball History;url=index.php?p=discover/history;");
aI("text=Club Finder;url=http://www.englandkorfball.co.uk/clubfinder.aspx;");
}

with(milonic=new menuname("Resources")){
itemheight=21;
itemwidth=110;
style=submenuStyle;
/*aI("text=Coaching;url=index.php?p=resources/coaching;");
aI("text=Referees;url=index.php?p=resources/referees;"); 
aI("text=Juniors;url=index.php?p=resources/youth;"); */
aI("showmenu=Rules;text=Rules;");
aI("showmenu=Forms;text=Forms;");
}

with(milonic=new menuname("Rules")){
itemheight=21;
itemwidth=110;
style=submenuStyle;
aI("text=LKA Rules and Constitution;url=http://www.londonkorfball.co.uk/resources/LKARulesandConstitutionAugust2011.rtf;");
aI("text=LKA League Rules;url=http://www.londonkorfball.co.uk/resources/LKALeagueRules2011-12.pdf;"); /* note repeated above */
aI("text=IKF Rules;url=index.php?p=resources/ikf_rules;");
}

with(milonic=new menuname("Forms")){
itemheight=21;
itemwidth=110;
style=submenuStyle;
aI("text=Match Form;url=resources/match_form_2008.xls;");
aI("text=Feedback by Referee;url=http://www.londonkorfball.co.uk/resources/lkarefsfeedbackform.xls;");
aI("text=Referee Assessment;url=http://www.londonkorfball.co.uk/resources/referee_assessment_form.pdf;");
aI("text=Referee Assessment Notes;url=http://www.londonkorfball.co.uk/resources/referee_assessment_notes.pdf;");
aI("text=Coaching or Referee Course Funding;url=http://www.londonkorfball.co.uk/resources/application_form.doc;");
}


drawMenus();
