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=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:4px;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="#314194";
offcolor="#FFFFFF";
onbgcolor="#314177";
oncolor="#FFFFFF";
outfilter="fade(duration=0.5)";
separatorheight=1;
padding=3;
pagecolor="white";
subimage="images/menu/arrow.gif";
subimagepadding=8;
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
itemheight=21;
itemwidth=150;
left=0;
position="relative";
orientation="horizontal";
style=menuStyle;
top=10;
aI("align=center;bgimage=images/menu/itemblue.gif;overbgimage=images/menu/itemblack_on.gif;showmenu=Korfball;text=Korfball?;");
aI("align=center;bgimage=images/menu/itemblue.gif;overbgimage=images/menu/itemblack_on.gif;showmenu=Competition;text=Competition;");
aI("align=center;bgimage=images/menu/itemblue.gif;overbgimage=images/menu/itemblack_on.gif;showmenu=Club;text=Club;");
aI("align=center;bgimage=images/menu/itemblue.gif;overbgimage=images/menu/itemblack_on.gif;showmenu=Juniors;text=Juniors;");
aI("align=center;bgimage=images/menu/itemblue.gif;overbgimage=images/menu/itemblack_on.gif;showmenu=Members' Zone;text=Members' Zone;");
aI("align=center;bgimage=images/menu/itemblue.gif;overbgimage=images/menu/itemblack_on.gif;showmenu=Contact CKC;text=Contact CKC;");
}


with(milonic=new menuname("Korfball")){
itemheight=21;
itemwidth=150;
style=submenuStyle;
aI("text=What?;url=index.php?p=about;");
aI("text=How?;url=index.php?p=rules;");
aI("text=Where?;url=index.php?p=home_venues;");
aI("text=When?;url=index.php?p=training;");
aI("text=Why Croydon?;url=index.php?p=organisation;");
aI("text=How do I get involved?;url=index.php?p=join;");
}


with(milonic=new menuname("Competition")){
itemheight=21;
itemwidth=150;
style=submenuStyle;
aI("text=Training;url=index.php?p=training;");
aI("text=Fixtures;url=index.php?p=fixtures;");
aI("showmenu=Venues;text=Venues;");
aI("text=Results;url=index.php?p=results;");
aI("text=Goals;url=index.php?p=goals;");
aI("showmenu=Tables;text=League Tables;");
aI("text=League Performance;url=index.php?p=league_perf;");
aI("text=Croydon Tournament;url=index.php?p=tournament;");
aI("text=Summer Tournaments;url=index.php?p=events/events&tournies;");
aI("text=Reffing Commitments;url=index.php?p=refs;");
aI("text=The Treatment Table;url=index.php?p=treatment;");
aI("showmenu=Archive;text=Archive;");
}

with(milonic=new menuname("Club")){
itemheight=21;
itemwidth=150;
style=submenuStyle;
aI("text=Events;url=index.php?p=events/events;");
aI("text=News;url=index.php?p=news/news;");
aI("text=Players;url=index.php?p=players/players-list;");
aI("text=Socials;url=index.php?p=events/events&socials;");
aI("text=Birthdays;url=index.php?p=players/birthdays;");
aI("text=Committee;url=index.php?p=committee;");
aI("text=History;url=index.php?p=history;");
}

with(milonic=new menuname("Venues")){
itemheight=21;
itemwidth=150;
style=submenuStyle;
aI("text=Home Venues;url=index.php?p=home_venues;");
aI("text=Away Venues;url=index.php?p=away_venues;");
}

with(milonic=new menuname("Tables")){
itemheight=21;
itemwidth=150;
style=submenuStyle;
aI("text=Haven Sports Korfball League;url=http://www.englandkorfball.co.uk/events/haven-sports-korfball-league-2009-10/tables.htm;target=_BLANK");
aI("text=LKA Regional League 1;url=http://www.englandkorfball.co.uk/events/london-regional-league-1-2009-10/tables.htm;target=_BLANK");
aI("text=LKA League 2;url=http://www.englandkorfball.co.uk/events/london-league-2-2009-10/tables.htm;target=_BLANK");
aI("text=LKA League 3;url=http://www.englandkorfball.co.uk/events/london-league-3-2009-10/tables.htm;target=_BLANK");
aI("text=LKA League 4;url=http://www.englandkorfball.co.uk/events/london-league-4-2009-10/tables.htm;target=_BLANK");
}

with(milonic=new menuname("Archive")){
itemheight=21;
itemwidth=150;
style=submenuStyle;
aI("text=2008/09;url=index.php?p=archive&id=2008/09;");
aI("text=2007/08;url=index.php?p=archive&id=2007/08;");
aI("text=2006/07;url=index.php?p=archive&id=2006/07;");
aI("text=2005/06;url=index.php?p=archive&id=2005/06;");
aI("text=2004/05;url=index.php?p=archive&id=2004/05;");
aI("text=2003/04;url=index.php?p=archive&id=2003/04;");
aI("text=2002/03;url=index.php?p=archive&id=2002/03;");
aI("text=2001/02;url=index.php?p=archive&id=2001/02;");
}
with(milonic=new menuname("Juniors")){
itemheight=21;
itemwidth=150;
style=submenuStyle;
aI("text=Fixtures & Results;url=index.php?p=juniors;");
aI("text=Players;url=index.php?p=players/juniors-list;");
aI("text=Register!;url=index.php?p=players/maintain_player_junior;");
aI("text=Join Us;url=index.php?p=join_juniors;");
}

with(milonic=new menuname("Members' Zone")){
itemheight=21;
itemwidth=150;
style=submenuStyle;
aI("text=Register!;url=index.php?p=players/maintain_player;");
aI("text=Personal Homepage;url=index.php?p=players/mypage;");
aI("text=Contact Details;url=index.php?p=players/short_contacts;");
aI("text=Player Availabilities;url=index.php?p=availabilities;");
aI("text=Player Analysis;url=index.php?p=analysis;");
aI("text=Surveys;url=index.php?p=surveys;");
aI("text=Polls;url=index.php?p=polls;");
aI("text=Score Predictor;url=index.php?p=predict_score;");
aI("text=Croydon GOG;url=index.php?p=reviews;");
aI("text=Messageboard;url=index.php?p=messageboard/show_threads;");
}

with(milonic=new menuname("Contact CKC")){
itemheight=21;
itemwidth=150;
style=submenuStyle;
aI("text=Contact Us;url=index.php?p=contact;");
aI("text=Join Us;url=index.php?p=join;");
}


drawMenus();