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;



with(menuStyle=new mm_style()){
bordercolor="#33CCCC";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="10px";
fontstyle="normal";
headerbgcolor="#33CCCC";
headercolor="#33CCCC";
offbgcolor="#FFFFFF";
offcolor="#000080";
onbgcolor="#99CCFF";
oncolor="#000080";
outfilter="randomdissolve(duration=0.3)";
padding=1;
pagebgcolor="#E4E4E4";
pagecolor="black";
separatorcolor="#33CCCC";
separatorsize=50;
subimage="_menu/arrow.gif";
subimagepadding=2;
}

with(dropDownStyle=new mm_style()){
bordercolor="#33CCCC";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="10px";
fontstyle="normal";
headerbgcolor="#33CCCC";
headercolor="#33CCCC";
offbgcolor="#99CCFF";
offcolor="#000080";
onbgcolor="#FFFFFF";
oncolor="#000080";
outfilter="randomdissolve(duration=0.3)";
padding=1;
pagebgcolor="#E4E4E4";
pagecolor="black";
separatorcolor="#33CCCC";
separatorsize=1;
subimage="_menu/arrow.gif";
subimagepadding=3;
}


with(town=new menuname("About")){
style=dropDownStyle;
overflow="scroll";
aI("text=Directory;url=http://www.townofonondagany.com/directory.htm;");
aI("text=Town Calendar;url=http://www.townofonondagany.com/August.htm;");
aI("text=Directions;url=http://www.townofonondagany.com/directions.htm;");
aI("text=Search this website;url=http://www.townofonondagany.com/search.htm;");
aI("text=Town Map;url=http://www.townofonondagany.com/map2/map4.htm;");
aI("showmenu=agenda;text=Agendas;");
aI("showmenu=minutes;text=Minutes;");
aI("text=Legal Notices;url=http://www.townofonondagany.com/legal/notice.pdf;");
aI("text=Storm Run Off;url=http://www.townofonondagany.com/stormrun.htm;");
aI("text=Map of Town Buildings&nbsp;url=http://www.townofonondagany.com/map2/map2.htm;");
aI("text=MS4 Annual Report;url=http://www.townofonondagany.com/PDF/MS4 Report.pdf;");

}

with(town=new menuname("agenda")){
style=dropDownStyle;
overflow="scroll";
aI("text=Town Board Agenda;url=http://townofonondagany.com/PDF/TBagenda.pdf;");
aI("text=TB Agenda II;url=http://townofonondagany.com/PDF/TBagenda2.pdf;");
aI("text=Planning Board Agenda&nbsp;url=http://townofonondagany.com/PDF/PBagenda.pdf;");
aI("text=Zoning Board Agenda;url=http://townofonondagany.com/PDF/ZBagenda.pdf;");
}


with(town=new menuname("minutes")){
style=dropDownStyle;
overflow="scroll";
aI("text=Town Board Minutes;url=http://townofonondagany.com/PDF/tbminutes.pdf;");
aI("text=Town Board Minutes II;url=http://townofonondagany.com/PDF/tbminutes2.pdf;");
aI("text=Town Board Minutes III;url=http://townofonondagany.com/PDF/tbminutes3.pdf;");
aI("text=Planning Board Minutes&nbsp;url=http://townofonondagany.com/PDF/PBminutes.pdf;");
aI("text=Planning Board Minutes II&nbsp;url=http://townofonondagany.com/PDF/PBminutes2.pdf;");
aI("text=Planning Board Minutes III&nbsp;url=http://townofonondagany.com/PDF/PBminutes3.pdf;");
aI("text=Zoning Board Minutes;url=http://townofonondagany.com/PDF/ZBminutes.pdf;");
aI("text=Zoning Board Minutes II;url=http://townofonondagany.com/PDF/ZBminutes2.pdf;");
aI("text=Zoning Board Minutes III;url=http://townofonondagany.com/PDF/ZBminutes3.pdf;");
}

with(town=new menuname("Departments")){
style=dropDownStyle;
overflow="scroll";
aI("text=Supervisor;url=http://townofonondagany.com/supervisor.htm;");
aI("text=Assessor;url=http://www.townofonondagany.com/assessor.htm;");
aI("text=Town Clerk;url=http://townofonondagany.com/clerk.htm;");
aI("text=Codes Officer;url=http://townofonondagany.com/codes.htm;");
aI("text=Highway Department&nbsp;url=http://www.townofonondagany.com/highway.htm;");
aI("text=Justice Court;url=http://www.townofonondagany.com/justice.htm;");
aI("text=Parks & Recreation;url=http://townofonondagany.com/parks.htm;");
aI("text=Senior Center;url=http://www.townofonondagany.com/seniorctr.htm;");
aI("text=Tax Receiver;url=http://www.townofonondagany.com/taxrec.htm;");
}

with(town=new menuname("Forms")){
style=dropDownStyle;
}

with(town=new menuname("Links")){
style=dropDownStyle;
overflow="scroll";
aI("text=Onondaga Resource Recovery Agency (OCRRA)&nbsp;url=http://www.ocrra.org;");
aI("text=Onondaga County Website;url=http://www.ongov.net;");
aI("text=County Clerk's Office;url=http://www.ongov.net/clerk/;");
aI("text=New York State Website;url=http://www.state.ny.us;");
aI("text=US Gov. Web Portal;url=http://www.firstgov.gov;");
aI("text=Onondaga Free Library (Local);url=http://www.oflibrary.org;");
aI("text=Town of Onondaga Historical Society;url=http://www.townononhist.org;");
}

with(town=new menuname("Schools")){
style=dropDownStyle;
overflow="scroll";
aI("text=West Genesee Schools;url=http://www.westgenesee.org;");
    aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;West Genesee High School;url=http://www.westgenesee.org/teacherpage.cfm?teacher=456;");
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Split Rock School;url=http://www.westgenesee.org/teacherpage.cfm?teacher=526;");
aI("text=Westhill Schools;url=http://www.westhillschools.org");
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Onondaga Hill Middle School;url=http://www.westhillschools.org/ohms/;");
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Westhill High School;url=http://www.westhillschools.org/highschool/;");
aI("text=Onondaga Central Schools;url=http://www.ocs.cnyric.org");
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Onondaga Central High School&nbsp;url=http://www.ocs.cnyric.org/JuniorSenior.cfm?subpage=284;");
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Rockwell School;url=http://www.ocs.cnyric.org/Rockwell.cfm?subpage=288;");
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Wheeler School;url=http://www.ocs.cnyric.org/Wheeler.cfm?subpage=286;");
aI("text=Jamesville Dewitt Schools;url=http://www.jamesvilledewitt.org/");
aI("text=Marcellus Schools;url=http://www.marcellusschools.org/");
aI("text=Lafayette Schools;url=http://www.lafayetteschools.org/");
aI("text=Tully Schools;url=http://tullyschools.org/");
}




drawMenus();

