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=0;
_subOffsetLeft=-0;

with(mainStyle=new mm_style()){
bordercolor="#e86f00";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Arial";
fontsize="85%";
fontstyle="normal"
fontweight="bold"
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#e86f00";
offcolor="#FFFFFF";
onbgcolor="#e86f00";
oncolor="#FFFFFF";
//outfilter="randomdissolve(duration=0.3)";
//overfilter="Fade(duration=0.2);Alpha(opacity=100);";
padding=1;
//pagebgcolor="#FFFFFF";
//pagecolor="black";
separatorcolor="#e86f00";
separatorsize=1;
separatorpadding=8;
subimagepadding=2;
}

with(menuStyle=new mm_style()){
bordercolor="#FFFFFF";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Arial";
fontsize="85%";
fontstyle="normal"
fontweight="bold"
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#e86f00";
offcolor="#FFFFFF";
onbgcolor="#aa6633";
oncolor="#FFFFFF";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=93);Shadow(color=#996633', Direction=135, Strength=4)";
padding=1;
//pagebgcolor="#FFFFFF";
//pagecolor="black";
separatorcolor="#FFFFFF";
separatorsize=1;
subimagepadding=2;
high3dcolor="#FFFFFF";
low3dcolor='#000000';
swap3d='true';
//margin=20;
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
left=0;
orientation="horizontal";
style=mainStyle;
top=75;
aI("showmenu=Government;text=Government;");
aI("showmenu=Departments;text=Departments;");
aI("showmenu=Information;text=Information;");
aI("showmenu=About South Orange;text=About South Orange;");
aI("text=News;url=http://www.southorange.org/articles.asp;");
aI("showmenu=Calendar;text=Calendar;");
aI("text=Forms;url=http://www.southorange.org/formsnapps.asp;");
//aI("text=Search;url=http://southorange.org/searchpro/advanced_search.asp;");
}

with(milonic=new menuname("Government")){
overflow="scroll";
style=menuStyle;
aI("text=Local Government;url=http://www.southorange.org/government.asp;")
//aI("text=Agendas;url=http://southorange.org/UnderMaintenance.asp;")
aI("text=Agendas;url=http://southorange.gotdns.org/weblink7/;")
//aI("text=Minutes;url=http://southorange.org/UnderMaintenance.asp;")
aI("text=Minutes;url=http://southorange.gotdns.org/weblink7/;")
//aI("text=Bills List;url=http://southorange.org/UnderMaintenance.asp;")
aI("text=Bills List;url=http://southorange.gotdns.org/weblink7/;")
//aI("text=Resolutions;url=http://southorange.org/UnderMaintenance.asp;")
aI("text=Resolutions;url=http://southorange.gotdns.org/weblink7/;")
aI("text=Videos;url=http://www.southorange.org/videoViewer.asp;")
aI("text=Village Code Online;url=http://www.ecode360.com/?custId=SO0799;target=_blank")

}

with(milonic=new menuname("Departments")){
style=menuStyle;
aI("text=Administration;url=http://www.southorange.org/administration.asp;");
aI("text=Village Clerk;url=http://www.southorange.org/clerksoffice.asp;");
aI("showmenu=Court;text=Municipal Court;subimage=http://southorange.org/js/arrow.gif;");
aI("text=Code Enforcement;url=http://www.southorange.org/inspections.asp;");
aI("text=Engineering/Zoning;url=http://www.southorange.org/engineering.asp;");
aI("showmenu=Finance;text=Finance;subimage=http://southorange.org/js/arrow.gif;");
aI("text=Health;url=http://www.southorange.org/health.asp;");
aI("text=Library;url=http://www.sopl.org;");
aI("text=Recreation at The Baird;url=http://www.southorange.org/TheBaird/;");
aI("text=Arts at The Baird;url=http://www.southorange.org/TheBaird/;");
aI("text=Parking Authority;url=http://www.southorange.org/parking.asp;");
aI("showmenu=PublicSafety;text=Public Safety;subimage=http://southorange.org/js/arrow.gif;");
aI("text=Public Works;url=http://www.southorange.org/dpw.asp;");
}

with(milonic=new menuname("Information")){
style=menuStyle;
aI("text=Budget;url=http://www.southorange.org/budget/budget.asp;");
aI("text=Business Listings;url=http://www.southorange.org/businesses.asp;");
aI("text=Community Coalition On Race;url=http://www.twotowns.org/;");
aI("text=Community Groups;url=http://www.southorange.org/communityGroups.asp;");
aI("showmenu=development;text=Development;subimage=http://southorange.org/js/arrow.gif;");
aI("text=Education;url=http://www.southorange.org/education.asp;");
aI("text=Elections;url=http://www.southorange.org/elections.asp;");
aI("text=Employment Opportunities;url=http://www.southorange.org/employmentVillage.asp;");
aI("text=Environment South Orange;url=http://www.southorange.org/Environment;target=_blank");
aI("text=The Gaslight Newsletter;url=http://www.southorange.org/gaslight.asp;");
aI("text=Historic Preservation;url=http://www.southorange.org/historicPreservation/;");
aI("text=History;url=http://www.southorange.org/history.asp;");
aI("text=Main Street South Orange;url=http://www.mainstreetsouthorange.org/;");
aI("text=Projects Status;url=http://southorange.org/StatusReport/VillageStatusReport.pdf;target=_blank");
aI("text=Revaluation Information;url=http://www.southorange.org/revaluation/default.asp;");
aI("text=Seton Hall;url=http://www.shu.edu/;");
aI("text=SOMAtv;url=http://www.somatv.org;");
aI("text=SOPAC;url=http://sopacnow.org/;");
aI("text=South Mountain Reservation;url=http://www.southorange.org/southMountainReservation.asp;");
aI("text=Village Directory;url=http://www.southorange.org/directory.asp;");
aI("text=Villager of The Month;url=http://www.southorange.org/VillagerOfTheMonth.asp;");
aI("text=YouthNet;url=http://www.somaYouthNet.org/;target=_blank");
//aI("text=Useful Links;url=http://www.southorange.org/links.asp;");
}

with(milonic=new menuname("About South Orange")){
style=menuStyle;
aI("text=Driving Directions;url=http://www.southorange.org/directions.asp;");
aI("text=Village Map;url=http://www.southorange.org/map/streetsfinder.html;");
aI("text=Fast Facts;url=http://www.southorange.org/facts.asp;");
}

with(milonic=new menuname("Calendar")){
style=menuStyle;
aI("text=Village Calendar;url=http://www.southorange.org/Calendar/;");
aI("showmenu=CommunityGroups;text=Community Groups;subimage=http://southorange.org/js/arrow.gif;");
}

with(milonic=new menuname("Development")){
style=menuStyle;
//aI("text=Development Projects;url=http://www.southorange.org/development.asp;");
aI("text=Smart Growth Plan;url=http://southorange.org/development/SmartGrowthPlan.asp;");
aI("text=River Corridor Project;url=http://www.southorange.org/development/RiverMP.asp;");
aI("text=Valley St. Study;url=http://www.southorange.org/development/redev_study.asp;");
aI("text=Atlantic Group Study;url=http://www.southorange.org/development/AtlanticGroupStudy.pdf;");
}

with(milonic=new menuname("Court")){
style=menuStyle;
aI("text=Pay Parking Tickets;url=http://njcourts.judiciary.state.nj.us/njmcdirect/atswepr2/home.do;");
aI("text=About Our Municipal Court;url=http://www.southorange.org/court.asp;");
}

with(milonic=new menuname("Finance")){
style=menuStyle;
aI("text=Treasurer;url=http://www.southorange.org/treasurer.asp;");
aI("text=Tax Assessor;url=http://www.southorange.org/taxassessor.asp;");
aI("text=Tax Collector;url=http://southorange.org/taxcollector.asp;");
aI("text=Purchasing Agent;url=http://southorange.org/purchasing.asp;");
}

with(milonic=new menuname("PublicSafety")){
style=menuStyle;
aI("text=Fire;url=http://southorange.org/firedept.asp;");
aI("text=Police&nbsp;&nbsp;;url=http://southorange.org/Police;");
aI("showmenu=OEM;text=OEM;subimage=http://southorange.org/js/arrow.gif;");
}

with(milonic=new menuname("OEM")){
style=menuStyle;
aI("text=OEM Main;url=http://southorange.org/oem.asp;");
aI("text=CERT;url=http://southorange.org/cert.asp;");
}

with(milonic=new menuname("CommunityGroups")){
style=menuStyle;
aI("text=Calendar;url=http://www.southorange.org/calendar/default1.asp;");
aI("text=Registration Form;url=http://www.southorange.org/communityform.asp;");
}


drawMenus();

