fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but can cause odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=5;
_subOffsetLeft=0;

 
 //alert(section);
 
with(menuStyle=new mm_style()){
position="relative";
screenposition="center";
menualign="left";
menuwidth="600px";
orientation="horizontal";
fontfamily="Arial";//Verdana, Tahoma, 
fontsize = "11px";
fontweight="bold";
onclass="menuClass";
offclass="menuClass";
offcolor="#FFFFFF";
oncolor="#cccccc";
outfilter="Fade(duration=0.3)"; //outfilter="randomdissolve(duration=0.3)";
//overfilter="Fade(duration=0.1);";//Alpha(opacity=90);Shadow(color=#000000', Direction=135, Strength=3)
padding="4px";
rawcss="padding-right:4px;";
//pagecolor="black"; //commented out to avoid pagematch bug IE6
//margin=4; //sets area between edge and text
//bgimage='background.gif';
//itemwidth=160;
//pagematch=false;
///overbgimage='/images/' . section . '-menu-background-solid.gif';

//separatorcolor="#000000";
separatorimage='images/clearpixel.gif';
separatorsize="29";
separatorheight="5";
}

subStyle = new copyOf(menuStyle);
//subStyle.itemwidth=160;
subStyle.top="offset=10px";
subStyle.offcolor="#FFFFFF";
subStyle.oncolor="#CCCCCC";

subStyle.bgimage='images/black.gif';
//if (section == "business")	{
//subStyle.oncolor="#B41D16";
//}


subStyle.onclass="menuClass";
subStyle.offclass="menuClass";
//subStyle.pagecolor="#000000";
///subStyle.bgimage='/images/' . section . '-menu-background-solid.gif';//overfilter="Fade(duration=0.2);Alpha(opacity=90);";
//onbgcolor="#FFFFFF";
subStyle.separatorcolor="#FFFFFF";
subStyle.separatorsize="0";
subStyle.separatorheight="0";
//subStyle.rawcss="";

thirdStyle = new copyOf(subStyle);
//thirdStyle.itemwidth=130;
thirdStyle.top=0;
thirdStyle.offcolor="#333333";
thirdStyle.oncolor="#004F2F";
thirdStyle.onclass="menuClass";
thirdStyle.offclass="menuClass";
///thirdStyle.bgimage='/images/white.gif';
///thirdStyle.overbgimage='white.gif';//overfilter="Fade(duration=0.2);Alpha(opacity=90);";
thirdStyle.bgcolor="#FFFFFF";//subStyle.rawcss="";
thirdStyle.pagecolor="#FFFFFF";

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
position="relative";
screenposition="left";
orientation="horizontal";
//left="offset=-284px";
style=menuStyle;
//aI("status=Aurora Mental Health Center;text=HOME;url=/;");
aI("showmenu=About-Us;status=About Us;text=ABOUT US;url=About-Us.html;");
aI("showmenu=Services;status=Services;text=SERVICES;url=Services.html;");
aI("showmenu=Resources;status=Resources;text=RESOURCES;url=Resources.html;");
aI("showmenu=Newsroom;status=Newsroom;text=NEWSROOM;url=Newsroom.html;");
aI("showmenu=Your-Support;status=Your-Support;text=YOUR SUPPORT;url=Your-Support.html;");
aI("showmenu=Careers;status=Careers;text=CAREERS;url=Careers.html;");
aI("status=Contact Us;text=CONTACT US;url=Contact-Us.html;");
}


with(milonic=new menuname("About-Us")){
style=subStyle;
aI("text=Commitments/Values;url=commitments-value.html;");
aI("text=History;url=history.html;");
aI("text=Board of Directors;url=board-of-directors.html;");
aI("text=Management Team;url=management-team.html;");
aI("text=Annual Reports;url=annual-reports.html;");
aI("text=Financials;url=financials.html;");
//aI("text=Watch Our Video;url=watch-our-video.html;");
//aI("text=Frequently Asked Questions;url=faq.html;");
}
with(milonic=new menuname("Services")){
style=subStyle;
aI("text=Children, Adolescent & Family;url=children-adolescent-family-services.html;");
aI("text=Adult Services;url=adult-services.html;");
aI("text=What To Expect;url=what-to-expect.html;");
}

with(milonic=new menuname("Resources")){
style=subStyle;
aI("text=Library &amp; Information Center;url=http://library.aumhc.org/poc/view_index.php?idx=topics;");
aI("text=Events;url=events.html;");
aI("text=Mental Health Tips;url=new-mental-health-tip.html;");
aI("text=Mental Health Links;url=helpful-resources.html;");
aI("text=Mental Health Dictionary;url=mental-health-dictionary.html;");
aI("text=Impact on Businesses;url=helpful-information-businesses.html;");
aI("text=Resources for Schools;url=helpful-information-schools.html;");
aI("text=En Espa&ntilde;ol;url=en-espanol.html;");
}

with(milonic=new menuname("Newsroom")){
style=subStyle;
aI("text=Press Releases;url=press-releases.html;");
aI("text=Library &amp; Information Center;url=http://library.aumhc.org/poc/view_index.php?idx=topics;");
aI("text=Quick Facts;url=quick-facts.html;");
aI("text=Speakers Bureau;url=speakers-bureau.html;");
aI("text=Newsletters;url=newsletter_archive.html;");
aI("text=Brochures;url=brochures.html;");
aI("text=Public Service Ads;url=public-service-ads.html;");
aI("text=Videos;url=video.html;");
}

with(milonic=new menuname("Your-Support")){
style=subStyle;
aI("text=Donations;url=donations.html;");
aI("text=Sponsorships;url=sponsorships.html;");
aI("text=Volunteer;url=volunteer.html;");
aI("text=Generous Supporters;url=generous-supporters.html;");
}

with(milonic=new menuname("Careers")){
style=subStyle;
aI("text=Job Openings;url=job-openings.html;");
aI("text=Application Form;url=application-form.html;");
aI("text=Benefits;url=benefits.html;");
aI("text=Internship Programs;url=internship-programs.html;");
}



drawMenus()
