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;

var menuPath = ""

with(horizStyle=new mm_style()){
bordercolor="#999999";
borderstyle="solid";
borderwidth=1;
//fontfamily="arial, tahoma";
//fontsize="72%";
fontfamily="Verdana, Tahoma, Arial";
fontsize="9pt";
fontstyle="normal";
headerbgcolor="#AFD1B5";
headerborder=1;
headercolor="#000099";
offbgcolor="#CFE2D1";
offcolor="#000000";
onbgcolor="#FEFAD2";
onborder="1px solid #999999";
oncolor="#000000";
onsubimage="menu/on_downboxed.gif";
pagesubimage="menu/on_downboxed.gif";
overbgimage="menu/backon_beige.gif";
padding=5;
pagebgcolor="#CFE2D1";
pagecolor="#000066";
pageimage="menu/db_red.gif";
separatoralign="right";
separatorcolor="#999999";
separatorwidth=1;
subimage="menu/downboxed.gif";
}

with(vertStyle=new mm_style()){
styleid=1;
bordercolor="#999999";
borderstyle="solid";
borderwidth=1;
//fontfamily="arial, tahoma";
//fontsize="72%";
fontfamily="Verdana, Tahoma, Arial";
fontsize="8pt";
fontstyle="normal";
headerbgcolor="#AFD1B5";
headerborder=1;
headercolor="#000099";
image="menu/18_blank.gif";
imagepadding=3;
menubgimage="menu/backoff_green.gif";
offbgcolor="transparent";
offcolor="#000000";
onbgcolor="#FEFAD2";
onborder="1px solid #999999";
oncolor="#000000";
onsubimage="menu/on_13x13_greyboxed.gif";
outfilter="randomdissolve(duration=0.2)";
overfilter="Fade(duration=0.1);Alpha(opacity=95);Shadow(color=#777777', Direction=135, Strength=3)";
padding=3;
pagebgcolor="#CFE2D1";
pagecolor="#000066";
pageimage="menu/db_red.gif";
separatoralign="right";
separatorcolor="#999999";
separatorpadding=1;
separatorwidth=1;
subimage="menu/black_13x13_greyboxed.gif";
menubgcolor="#F5F5F5";
align="left";
}


with(submenuStyle=new mm_style()){
offset="50";
styleid=1;
bordercolor="#ACABAB";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="8pt";
fontstyle="normal";
fontweight="normal";
headercolor="#000000";
imagepadding=8;
/*
offbgcolor="#ffffff";
offcolor="#003399";
onbgcolor="#ffffff";
*/
padding=3;
pagecolor="black";
separatorcolor="#ffffff";
separatorsize=1;
subimagepadding=20;
/*pagebgcolor="#82B6D7";*/
/*pagebgcolor="#F47920";*/
pagebgcolor="#B99865";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#CEB793";
offcolor="#ffffff";
onbgcolor="#F47920";
/*onbgcolor="#B99865";*/

oncolor="#ffffff";
/*outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=5)";
*/
align="left";
}

with(menuStyle=new mm_style()){
bordercolor="#ACABAB";
borderstyle="none";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="9pt";
fontstyle="normal";
fontweight="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
image="menu_ptr.gif";
overimage="menu_ptr_over.gif";
pageimage="menu_page_ptr.gif";
/*onsubimage="images/pdf.gif";*/
imagepadding=2;
offbgcolor="#ffffff";

/*offcolor="#003399";*/
offcolor="#876A3F";
ondecoration="underline";
onbgcolor="#ffffff";
/*oncolor="#003399";*/
oncolor="#876A3F";
padding=0;
alwaysvisible=1;
bgimage='menu/menu_bg.gif';
pagebgimage='menu/menu_bg_page.gif';
overbgimage='menu/menu_bg_over.gif';
itemheight=29;
itemwidth=90;
margin=4;
}

with(menuSiteStyle=new mm_style()){
bordercolor="#ACABAB";
borderstyle="none";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="9pt";
fontstyle="normal";
fontweight="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
image="menu_ptr.gif";
overimage="menu_ptr_over.gif";
pageimage="menu_page_ptr.gif";
/*onsubimage="images/pdf.gif";*/
imagepadding=3;
offbgcolor="#ffffff";

/*offcolor="#003399";*/
offcolor="#876A3F";
ondecoration="underline";
onbgcolor="#ffffff";
/*oncolor="#003399";*/
oncolor="#876A3F";
padding=0;
alwaysvisible=1;
}

with(milonic=new menuname("Info")){
left="offset=2"
//style=submenuStyle;
margin=3;
style=vertStyle;
top="offset=3";

aI("image=menu/18_faq.gif;text=General Information & Links;url="+menuPath+"info.htm;");
aI("image=menu/18_news.gif;text=News and Memos;url="+menuPath+"infonews.htm;");
aI("image=menu/18_lic.gif;text=Registration;url="+menuPath+"registration.htm;");
}

 
with(milonic=new menuname("Games")){
//style=submenuStyle;
//left="offset=27"
left="offset=2"
//style=submenuStyle;
margin=3;
style=vertStyle;
top="offset=3";
aI("image=menu/18_calendar.gif;text=Games Schedule;url="+menuPath+"games.htm;");
aI("text=Mite Learn to Play;url="+menuPath+"resultsmite.shtml;");
aI("text=Tyke Division;url="+menuPath+"resultstyke.shtml;");
aI("text=Minor Novice;url="+menuPath+"resultsminornovice.shtml;");
aI("text=Novice;url="+menuPath+"resultsnovice.shtml;");
aI("text=Atom Tuesday;url="+menuPath+"resultsatomtues.shtml;");
aI("text=Atom Wednesday;url="+menuPath+"resultsatomwed.shtml;");
aI("text=Peewee Monday;url="+menuPath+"resultspeeweemon.shtml;");
aI("text=Peewee Wednesday;url="+menuPath+"resultspeeweewed.shtml;");
//aI("text=Bantam Thursday;url="+menuPath+"resultsbantam.shtml;");
aI("text=Bantam Sunday;url="+menuPath+"resultsbantamsun.shtml;");
aI("text=Midget;url="+menuPath+"resultsmidget.shtml;");
}

with(milonic=new menuname("Select")){
//left="offset=27"
//style=submenuStyle;
left="offset=2"
//style=submenuStyle;
margin=3;
style=vertStyle;
top="offset=3";
aI("image=menu/18_select.gif;text=Select Program;url="+menuPath+"select.htm;");
aI("image=menu/18_calendar.gif;text=Select Practice Times;url="+menuPath+"selectpractices.htm;");
aI("image=menu/18_select_contact.gif;text=Select Contacts;url="+menuPath+"selectcontacts.htm;");
aI("image=menu/18_cup.gif;text=Select Honour Roll;url="+menuPath+"selecthonours.htm;");
}



drawMenus();
