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;
menuZIndex=2000;



with(menuStyle=new mm_style()){
    offclass = "menuOff";
    onclass = "menuOn";
    padding = 5;
    outfilter = "randomdissolve(duration=0.3)";
    overfilter = "Fade(duration=0.2);Alpha(opacity=98)";
    separatorcolor = "#FFFFFF";
    separatorsize = 1;
    subimage = "/images/warrowdown.gif";
    onsubimage = "/images/barrowdown.gif"
    subimagepadding = 3;
}

with(menuStyle2=new mm_style()){
    offclass = "menuSubOff";
    onclass = "menuSubOn";
    align = "left";
    outfilter = "randomdissolve(duration=0.3)";
    overfilter = "Fade(duration=0.2);Alpha(opacity=100);";
    pagebgcolor = "#82B6D7";
    pagecolor = "black";
    subimage = "/images/arrowwhiteright.gif";
    onsubimage = "/images/arrowblackright.gif"
    subimagepadding = 3;
    padding = 3;
}


with(milonic=new menuname("Residents")){
overflow="scroll";
style=menuStyle2;
itemwidth=160;
aI("url=/default.aspx?pageid=278;showmenu=LivinginChandler;text=Living in Chandler;")
aI("showmenu=ComSvs;text=Parks and Recreation;")
aI("showmenu=Arts;text=Arts and Culture;")
aI("url=/default.aspx?pageid=334;text=City Services - A to Z;")
aI("url=/default.aspx?pageid=429;text=E-Services;")
aI("url=/default.aspx?pageid=88;text=Utility Billing;")
aI("url=/default.aspx?pageid=230;text=Recycling and Trash;")
aI("url=/default.aspx?pageid=320;showmenu=PublicSafety;text=Public Safety;")
aI("url=/default.aspx?pageid=319;text=Transportation;")
aI("url=/default.aspx?pageid=45;text=Moving to Chandler;")
aI("url=/default.aspx?pageid=185;text=Volunteer Opportunities;")
aI("url=/default.aspx?pageid=53;text=For Kids;")
aI("url=/forms/sr.aspx;text=Contact us;")
aI("url=/default.aspx?pageid=100;text=Centennial Celebration;")
}

with(milonic=new menuname("Visitors")){
style=menuStyle2;
itemwidth = 160;
aI("url=/default.aspx?pageid=724;text=Community Profile;")
aI("showmenu=ComSvs;text=Parks and Recreation;")
aI("showmenu=Arts;text=Arts and Culture;")
aI("url=http://www.visitchandler.com;text=Tourism;")
aI("url=/default.aspx?pageid=45;text=Moving to Chandler;")
aI("url=/default.aspx?pageid=100;text=Centennial Celebration;")
}

with(milonic=new menuname("Business")){
style=menuStyle2;
itemwidth=190;
aI("url=/default.aspx?pageid=300;text=Starting a Business;")
aI("url=/default.aspx?pageid=240;showmenu=Purchasing;text=Doing Business with the City;")
aI("url=/default.aspx?pageid=300;text=Small Business Resources;")
aI("url=/default.aspx?pageid=303;text=Economic Development;")
aI("url=/default.aspx?pageid=399;text=Sales Tax and Licenses;")
aI("url=/default.aspx?pageid=429;text=E-Services;")
aI("url=/default.aspx?pageid=318;text=Chandler Municipal Airport;")
}

with (milonic = new menuname("Purchasing")) {
    style = menuStyle2;
    itemwidth = 180;
    aI("url=/default.aspx?pageid=357;text=Purchasing Division;")
    aI("url=/default.aspx?pageid=363;text=Bids/Proposal Opportunities;")
    aI("url=/default.aspx?pageid=359;text=Vendor Registration System;")
}

with(milonic=new menuname("Government")){
style=menuStyle2;
itemwidth=180;
aI("url=/default.aspx?pageid=245;text=Mayor and Council;")
aI("url=/default.aspx?pageid=30;text=City Council Agendas & Minutes;")
aI("url=/default.aspx?pageid=35;text=City Manager;")
aI("url=/default.aspx?pageid=246;text=Boards and Commissions;")
aI("url=/default.aspx?pageid=73;text=City Hall;")
aI("url=/default.aspx?pageid=275;text=Departments & Divisions;")
aI("url=/default.aspx?pageid=33;text=Election Information;")
aI("url=/default.aspx?pageid=747;text=Federal Stimulus Funds;")
aI("url=/default.aspx?pageid=97;text=Find a Job;")
aI("url=/default.aspx?pageid=36;text=Mission and Vision;")
aI("url=/default.aspx?pageid=34;text=Budget and CIP;")
aI("url=/default.aspx?pageid=121;text=General Plan;")
}

with (milonic = new menuname("PublicSafety")) {
    style = menuStyle2;
    itemwidth = 180;
    aI("url=/default.aspx?pageid=900;text=Chandler Fire;")
    aI("url=http://www.chandlerpd.com;text=Chandler Police;")
    aI("url=/default.aspx?pageid=336;text=Chandler Municipal Courts;")
    aI("url=/default.aspx?pageid=67;text=Emergency Preparedness;")
    aI("url=/default.aspx?pageid=321;text=Homeland Security;")
    aI("url=http://www.chandlercert.org/;text=Chandler CERT Program;")
}

with (milonic = new menuname("ComSvs")) {
    style = menuStyle2;
    itemwidth = 120;
    aI("url=/default.aspx?pageid=301;text=Aquatics;")
    aI("url=/default.aspx?pageid=732;text=Recreation;")
    aI("url=/default.aspx?pageid=287;text=Parks;")  
}

with (milonic = new menuname("LivinginChandler")) {
    style = menuStyle2;
    itemwidth = 180;
    aI("url=/default.aspx?pageid=724;text=Community Profile and Demographics;")
    aI("url=/default.aspx?pageid=38;text=Education and Schools;")
    aI("url=/default.aspx?pageid=46;text=Helpful Community Links;")
    aI("url=/default.aspx?pageid=37;text=History;")
    aI("url=/default.aspx?pageid=39;text=Hospitals;")
    aI("url=/default.aspx?pageid=41;text=Museums and Galleries;")
    aI("url=/default.aspx?pageid=149;text=Neighborhood Resources;")
    aI("url=/default.aspx?pageid=482;text=Places of Worship;")
}

with (milonic = new menuname("Arts")) {
    style = menuStyle2;
    itemwidth = 180;
    aI("url=http://www.chandlercenter.org;text=Chandler Center for the Arts;")
    aI("url=http://www.chandlerlibrary.org/;text=Chandler Libraries;")
    aI("url=/default.aspx?pageid=996;text=Chandler Museum;")
    aI("url=/default.aspx?pageid=629;text=Public Art;")
    aI("url=/default.aspx?pageid=280;text=Special Events;")
    aI("url=http://www.visiongallery.org/;text=Vision Gallery;")
}

with (milonic = new menuname("HowDoI")) {
    style = menuStyle2;
    itemwidth = 240;
    aI("url=https://utbweb.chandleraz.gov/WebUtility/Login.aspx;text=Pay my utility bill;")
    aI("url=/hr/jobs/;text=Apply for a job;")
    aI("url=/forms/sr.aspx;text=Request service or contact the City;")
    aI("url=https://classregistration.chandleraz.gov/registrationmain.sdi;text=Register for recreation classes;")
    aI("url=/breaktimeform.aspx;text=Subscribe to Break Time Recreation Guide;")
    aI("url=/default.aspx?pageid=359;text=Register for notifications for bids/proposals;")
    aI("url=/default.aspx?pageid=32;text=Search City Code and Ordinances;")
    aI("url=/listserv.aspx;text=Subscribe to receive e-mail updates about Chandler news and events;")
    aI("url=http://www.chandleraz.gov/clics;text=Apply for a Permit/Schedule an Inspection;")
    aI("url=/default.aspx?pageid=330;text=Review current citywide zoning cases;")
    aI("url=https://www.chandleraz.gov/etax/;text=File and pay my sales tax online or apply for a new business license;")
    aI("url=http://www.chandleraz.gov/gbaMSWebCitizen/?FUI=STREETS2;text=Report a street light outage;")
    aI("url=/default.aspx?pageid=242;text=Download city forms and applications;")
}


drawMenus();


