fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=100;
_menuOpenDelay=110;
_subOffsetTop=0;//How far dropped the sub menu is
_subOffsetLeft=0;//How far to the right the sub menu appaers




with(menuStyleA=new mm_style()){ //Menu style A is the Single button (no list) style
bordercolor="#000066";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize=10; //Sets the size of the menu font
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#eeeeee";//background color at rest
offcolor="#000066";//text color at rest
onbgcolor="#ffffff";//background color on hover
oncolor="#0000ff";//text color on hover
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color=#777777', Direction=135, Strength=3)";
padding=4;
pagebgcolor="#82B6D7";
pagecolor="black";
separatorcolor="#999999";
separatorsize=1;
subimage="http://www.childwallgolfclub.co.uk/menu/images/arrow.gif"; //URL to arrow
subimagepadding=2;
itemwidth=100;// Sets overall width of text boxes in home button
}

with(menuStyleB=new mm_style()){ //Menu style B is the main menu style
bordercolor="#000066";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize=10;
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#eeeeee";//background color at rest
offcolor="#000066";//text color at rest
onbgcolor="#ffffff";//background color on hover
oncolor="#0000FF";//text color on hover
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color=#777777', Direction=135, Strength=3)";
padding=4;
pagebgcolor="#CEECEE"; //sets the colour of the backgrpond on the visited page
pagecolor="#000099";
separatorcolor="#999999";
separatorsize=1;
subimage="http://www.childwallgolfclub.co.uk/menu/images/arrow.gif"; //URL to arrow
subimagepadding=2;
itemwidth=100;// Sets overall width of text boxes in main menu
}

with(menuStyleC=new mm_style()){    //Menu style C is the Submenu style
bordercolor="#999999";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize=10;
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#ffffff";//background color at rest
offcolor="#000066";//text color at rest
onbgcolor="#ffcccc";//background color on hover
oncolor="#0000FF";//text color on hover
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color=#777777', Direction=135, Strength=3)";
padding=4;
pagebgcolor="#CEECEE"; //sets the colour of the backgrpond on the visited page
pagecolor="0000FF"; //sets the colour of the text on the visited page
separatorcolor="#999999";
separatorsize=1;
subimage="http://www.childwallgolfclub.co.uk/menu/images/arrow.gif"; //URL to arrow
subimagepadding=2;
itemwidth="auto";// Sets overall width of text boxes in submenus
}

with(menuStyleD=new mm_style()){ //Menu style d is the Festival Single button (no list) style
bordercolor="#000066";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize=10; //Sets the size of the menu font
fontweight="bold";
headerbgcolor="#ffB0B0";
headercolor="#ffB0B0";
offbgcolor="#000066";//background color at rest
offcolor="#CC3333";//text color at rest
onbgcolor="#ffB0B0";//background color on hover
oncolor="#0000ff";//text color on hover
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color=#777777', Direction=135, Strength=3)";
padding=4;
pagebgcolor="#ffB0B0";
pagecolor="black";
separatorcolor="#999999";
separatorsize=1;
subimage="http://www.childwallgolfclub.co.uk/menu/images/arrow.gif"; //URL to arrow
subimagepadding=2;
itemwidth=100;// Sets overall width of text boxes in home button
}

with(milonic=new menuname("About Us")){
style=menuStyleC;
aI("text=Introduction;url=http://www.childwallgolfclub.co.uk/about_us/introduction.php;")
aI("text=CGC's Captains;url=http://www.childwallgolfclub.co.uk/about_us/captains.php;")
aI("text=CGC's President;url=http://www.childwallgolfclub.co.uk/about_us/president.php;")
aI("text=Find Us;url=http://www.childwallgolfclub.co.uk/about_us/find_us.php;")
aI("text=CGC's Staff;url=http://www.childwallgolfclub.co.uk/about_us/staff.php;")
aI("text=History;url=http://www.childwallgolfclub.co.uk/about_us/history.php;")
}			
        
        
with(milonic=new menuname("Course")){
style=menuStyleC;
aI("text=Introduction;url=http://www.childwallgolfclub.co.uk/course/introduction.php;")
aI("text=Course Safety;url=http://www.childwallgolfclub.co.uk/course/safety.php;")
aI("text=Dress Code;url=http://www.childwallgolfclub.co.uk/course/dress.php;")
aI("text=Course Cards;url=http://www.childwallgolfclub.co.uk/course/card.php;")
aI("text=Take a Tour;url=http://www.childwallgolfclub.co.uk/course/tour.php;")
}	

with(milonic=new menuname("Clubhouse")){
style=menuStyleC;
aI("text=Introduction;url=http://www.childwallgolfclub.co.uk/clubhouse/introduction.php;")
aI("text=Dress Code;url=http://www.childwallgolfclub.co.uk/clubhouse/dress.php;")
aI("text=Opening Times;url=http://www.childwallgolfclub.co.uk/clubhouse/opening.php;")
aI("text=Social Events;url=http://www.childwallgolfclub.co.uk/members/diary.php;")
}	

with(milonic=new menuname("Members")){
style=menuStyleC;
aI("text=Competitions Booking;url=http://www.brsgolf.com/childwall/members_home.php;")
aI("text=Log in;url=http://www.childwallgolfclub.co.uk/members/members.php;")
aI("text=Committees;url=http://www.childwallgolfclub.co.uk/members/committees.php;")
aI("text=Bye Laws;url=http://www.childwallgolfclub.co.uk/members/byelaws.php;")
aI("text=Events Diary;url=http://www.childwallgolfclub.co.uk/members/diary.php;")
aI("text=Social Events;url=http://www.childwallgolfclub.co.uk/members/socials.php;")
aI("text=Catering;url=http://www.childwallgolfclub.co.uk/members/catering.php;")
aI("text=Gents Section;url=http://www.childwallgolfclub.co.uk/members/gents.php;")
aI("text=Ladies Section;url=http://www.childwallgolfclub.co.uk/members/ladies.php;")
aI("text=Seniors Section;url=http://www.childwallgolfclub.co.uk/members/seniors.php;")
aI("text=Juniors Section;url=http://www.childwallgolfclub.co.uk/members/juniors.php;")
aI("text=Artisans Section;url=http://www.childwallgolfclub.co.uk/members/artisans.php;")
aI("text=CGC Festival;url=http://www.childwallgolfclub.co.uk/admin/festival.php;")
aI("text=Childwall Trophy;url=http://www.childwallgolfclub.co.uk/admin/trophy.php;")
aI("text=Agronomy Report;url=http://www.childwallgolfclub.co.uk/members/agronomy.php;")
}

with(milonic=new menuname("Visitors")){
style=menuStyleC;
aI("text=Introduction;url=http://www.childwallgolfclub.co.uk/visitors/introduction.php;")
aI("text=Find Us;url=http://www.childwallgolfclub.co.uk/about_us/find_us.php;")
aI("text=Green Fees;url=http://www.childwallgolfclub.co.uk/visitors/fees.php;")
aI("text=Society Packages;url=http://www.childwallgolfclub.co.uk/visitors/packages.php;")
aI("text=CGC Festival;url=http://www.childwallgolfclub.co.uk/admin/festival.php;")
aI("text=Childwall Trophy;url=http://www.childwallgolfclub.co.uk/admin/trophy.php;")
aI("text=Etiquette;url=http://www.childwallgolfclub.co.uk/visitors/etiquette.php;")
aI("text=Catering;url=http://www.childwallgolfclub.co.uk/visitors/catering.php;")
}

with(milonic=new menuname("Admin")){
style=menuStyleC;
aI("text=All Downloads;url=http://www.childwallgolfclub.co.uk/admin/downloads.php;")
aI("text=CGC Festival;url=http://www.childwallgolfclub.co.uk/admin/festival.php;")
aI("text=Childwall Trophy;url=http://www.childwallgolfclub.co.uk/admin/trophy.php;")
aI("text=Site Map;url=http://www.childwallgolfclub.co.uk/admin/sitemap.php;")
aI("text=Credits;url=http://www.childwallgolfclub.co.uk/admin/credits.php;")
}
drawMenus();

