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;



/*  this is a comment */
with(menuStyle=new mm_style()){
/*  bordercolor is the color of the menu border */
bordercolor="#ffffff";
borderstyle="solid";
borderwidth=1;
fontfamily="Arial";
fontweight='bold';
fontsize="75%";
fontstyle="normal";
/* headerbgcolor seems to do nothing */
headerbgcolor="#ffffff";
/* as well as headercolor - seems to do nothing */
headercolor="#000000";
/* offbgcolor is the color of a button not being touched */
offbgcolor="#0196DB";
/* offcolor is the untouched font color */
offcolor="#ffffff";
/* onbgcolor is the background color of a button being hovered over */
onbgcolor="#00A692";
/* oncolor is the font color when being hovered over */
oncolor="#ffffff";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=3)";
padding=4;
/* This may be the background color of a selected button */
pagebgcolor="#0070BA";
pagecolor="black";
separatorcolor="#999999";
separatorsize=1;
separatorpadding=0;
subimagepadding=2;
}

with(milonic=new menuname("Main Menu")){
/* the top and left variables position the menu */
top=146;
/* I am going to attempt to comment these next two lines out to postion the menu in a table cell */
// left=2;
followscroll=1;
alwaysvisible=1;
/* The next line needs to be commented out if you want to force the nav menu into a cell. */
// screenposition="left";
orientation="vertical";
style=menuStyle;
aI("text=&nbsp;&nbsp;&nbsp;&nbsp;Home&nbsp;&nbsp;&nbsp;&nbsp;;url=index.php;");
aI("text=&nbsp;&nbsp;&nbsp;&nbsp;Membership&nbsp;&nbsp;&nbsp;&nbsp;;url=Membership.php;");
aI("text=&nbsp;&nbsp;&nbsp;&nbsp;Free Guest Pass&nbsp;&nbsp;&nbsp;&nbsp;;url=Pass.php;");
aI("text=&nbsp;&nbsp;&nbsp;&nbsp;About Us&nbsp;&nbsp;&nbsp;&nbsp;;url=AboutUs.php;");
aI("text=&nbsp;&nbsp;&nbsp;&nbsp;News & Events&nbsp;&nbsp;&nbsp;&nbsp;;url=NewsEvents.php;");
aI("text=&nbsp;&nbsp;&nbsp;&nbsp;Programs&nbsp;&nbsp;&nbsp;&nbsp;;url=Programs.php;");
aI("showmenu=Branches;text=&nbsp;&nbsp;&nbsp;&nbsp;Branches&nbsp;&nbsp;&nbsp;&nbsp;pointer=default;");
aI("showmenu=Camps;text=&nbsp;&nbsp;&nbsp;&nbsp;Camps&nbsp;&nbsp;&nbsp;&nbsp;pointer=default;");
aI("showmenu=Schedules;text=&nbsp;&nbsp;&nbsp;&nbsp;Schedules&nbsp;&nbsp;&nbsp;&nbsp;pointer=default;");
aI("text=&nbsp;&nbsp;&nbsp;&nbsp;Employment&nbsp;&nbsp;&nbsp;&nbsp;;url=Employment.php;");
aI("text=&nbsp;&nbsp;&nbsp;&nbsp;Contact Info.&nbsp;&nbsp;&nbsp;&nbsp;;url=contact.php;");
aI("text=&nbsp;&nbsp;&nbsp;&nbsp;Financial Assistance&nbsp;&nbsp;&nbsp;&nbsp;;url=Assistance.php;");
aI("showmenu=Help;text=&nbsp;&nbsp;&nbsp;&nbsp;How You Can Help&nbsp;&nbsp;&nbsp;&nbsp;pointer=default;");
aI("showmenu=Swim Teams;text=&nbsp;&nbsp;&nbsp;&nbsp;Swim Teams&nbsp;&nbsp;&nbsp;&nbsp;pointer=default;");
aI("text=&nbsp;Volunteer Leadership&nbsp;url=Volunteers.php;");
}

with(milonic=new menuname("Home")){
style=menuStyle;
aI("text=Home;url=index.php;");
}

with(milonic=new menuname("Membership")){
style=menuStyle;
aI("text=Membership;url=Membership.php;");
}

with(milonic=new menuname("About Us")){
style=menuStyle;
aI("text=About Us;url=AboutUs.php;");
}

with(milonic=new menuname("News & Events")){
style=menuStyle;
aI("text=About Us;url=NewsEvents.php;");
}

with(milonic=new menuname("Programs")){
style=menuStyle;
aI("text=Programs;url=Programs.php;");
}

with(milonic=new menuname("Branches")){
overflow="scroll";
style=menuStyle;
aI("text=Westerly-Pawcatuck Branch;url=WesterlyBranch.php;")
aI("text=Mystic Branch;url=MysticBranch.php;")
aI("text=Arcadia Branch;url=ArcadiaBranch.php;")
}

with(milonic=new menuname("Camps")){
style=menuStyle;
aI("text=Camp Watchaug;url=http://campwatchaug.org;target=_new;");
aI("text=Mystic Day Camp;url=MysticBeachCamp.php;");
}

with(milonic=new menuname("Schedules")){
style=menuStyle;
aI("text=Westerly-Pawcatuck Schedules;url=WesterlySchedule.php;")
aI("text=Mystic Schedules;url=MysticSchedule.php;")
aI("text=Arcadia Schedules;url=ArcadiaSchedule.php;")
}

with(milonic=new menuname("Employment")){
style=menuStyle;
aI("text=Employment;url=Employment.php;");
}

with(milonic=new menuname("Contact Info.")){
style=menuStyle;
aI("text=Contact Info.;url=contact.php;");
}

with(milonic=new menuname("Help")){
style=menuStyle;
aI("text=Reach Out to Youth;url=ROTY2011.php;");
aI("text=Westerly-Pawcatuck Renovation;url=CapCampaign.php;");
}

with(milonic=new menuname("Swim Teams")){
style=menuStyle;
aI("text=Westerly Pawcatuck Swim Team;url=http://www.ymcadolphins.org/;target=_new;");
aI("text=Mystic Swim Team;url=http://www.mystichammerheads.org/;target=_new;");
}

with(milonic=new menuname("Volunteer Leadership")){
style=menuStyle;
aI("text=Volunteer Leadership;url=Volunteers.php;");
}

drawMenus();


