fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=200;
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=-2;

with(menuStyle=new mm_style()){
bordercolor="#999999";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="75%";
fontstyle="normal";
headerbgcolor="#FFFF00";
headercolor="#FFFFFF";
offbgcolor="#CD0000";
offcolor="#FFFFFF"; //colour of text in menu when mouse is not on it
onbgcolor="#FFFF00";//bg when mouse is on it
oncolor="#000000";// text colour when mouse on
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color=#777777', Direction=135, Strength=3)";
padding=4;
pagebgcolor="#CD0000";
pagecolor="black";
separatorcolor="#009901";
separatorsize=1;
subimage="";
subimagepadding=2;
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
left=10;
orientation="horizontal";
style=menuStyle;
top=10;
aI("text=Home;url=index.shtml;");
aI("showmenu=club;text=Club");
aI("showmenu=membership;text=Membership");
aI("showmenu=training;text=Training");
aI("showmenu=racing;text=Racing;url=racing.shtml;");
aI("showmenu=juniors;text=Juniors Area;url=http://www.swindonjuniortriathlon.co.uk;");
aI("text=Contact Us;url=contact.shtml;");
}

with(milonic=new menuname("club")){
style=menuStyle;
aI("text=News;url=news.shtml;");
aI("text=Gallery;url=gallery.shtml;");
aI("text=Discussion Board;url=http://barkingfrog.co.uk/swindontriathlonclub/forum/;");

}


with(milonic=new menuname("membership")){
style=menuStyle;
aI("text=Club History;url=clubhistory.shtml;");
aI("text=Benefits;url=benefits.shtml;");
aI("text=forms;url=forms.shtml;");
}


with(milonic=new menuname("training")){
style=menuStyle;
aI("text=Schedule;url=schedule.shtml;");
aI("text=Downloads;url=downloads.shtml;");
}

drawMenus();
