_menuCloseDelay=0           // The time delay for menus to remain visible on mouse out
_menuOpenDelay=0            // The time delay before menus open on mouse over
_followSpeed=5              // Follow scrolling speed
_followRate=40              // Follow scrolling Rate
_subOffsetTop=0             // Sub menu top offset
_subOffsetLeft=-3	        // Sub menu left offset

with(menuStyle=new mm_style()){
onbgcolor="";
oncolor="#b7b76e";
offbgcolor="#044476";
offcolor="#ffffff";
bordercolor="";
borderstyle="";
borderwidth="0";
separatorcolor="";
separatorsize="";
padding="0";
fontfamily="";
pagecolor="";
pagebgcolor="";
headercolor="";
headerbgcolor="";
subimage="";
subimagepadding="2";
overfilter="";
outfilter="";
}

with(menuStyle2=new mm_style()){
onbgcolor="#e5e5cb";
oncolor="#000000";
offbgcolor="#d1d1a2";
offcolor="#000000";
bordercolor="#dcdcb9";
borderstyle="solid";
borderwidth="1";
separatorcolor="#cdcd9a";
separatorsize="1";
padding="3";
fontsize="10px";
fontstyle="bold";
fontfamily="Verdana";
pagecolor="";
pagebgcolor="";
headercolor="";
headerbgcolor="";
subimage="/images/arrow.gif";
subimagepadding="2";
overfilter="";
outfilter="";
}

with(milonic=new menuname("Main Menu")){
style=menuStyle;
top=0;
left=0;
alwaysvisible=1;
orientation="horizontal";
aI("text=<img src=/images/nav_01_home.gif border=0>;url=/;");
aI("text=<img src=/images/nav_02_about.gif border=0>;url=/about/;showmenu=aboutthecity;");
aI("text=<img src=/images/nav_03_citycouncil.gif border=0>;url=/council/;showmenu=citycouncil;");
aI("text=<img src=/images/nav_04_departments.gif border=0>;url=/dept/;showmenu=departments;");
aI("text=<img src=/images/nav_05_commissions.gif border=0>;url=/comm/;showmenu=commissions;");
aI("text=<img src=/images/nav_06_events.gif border=0>;url=/events/;");
aI("text=<img src=/images/nav_07_jobs.gif border=0>;url=/jobs/;");
aI("text=<img src=/images/nav_08_links.gif border=0>;url=/links/;");
aI("text=<img src=/images/nav_09_contact.gif border=0>;url=/contact/;");
aI("text=<img src=/images/nav_10_sitemap.gif border=0>;url=/sitemap/;");
aI("text=<img src=/images/nav_11_search.gif border=0>;url=/search/;");
}

with(milonic=new menuname("aboutthecity")){
style=menuStyle2;
aI("text=Elected Officials;url=/about/elected_officials.html;");
aI("text=Forms of Municipal Government;url=/about/forms_gov.html;");
aI("text=History;url=/about/history.html;");
}

with(milonic=new menuname("citycouncil")){
style=menuStyle2;
width="500";
aI("text=Agendas&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;url=/council/agendas.aspx;");
aI("text=Minutes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;url=/council/minutes.aspx;");
}

with(milonic=new menuname("departments")){
style=menuStyle2;
width="500";
aI("text=City Attorneys Office;url=/dept/attorney.html;");
aI("text=City Clerk;url=/dept/clerk.html;");
aI("text=City Manager;url=/dept/manager.html;showmenu=citymanager;");
aI("text=Community Development;url=/dept/comm/;showmenu=communitydev;");
aI("text=Finance;url=/dept/finance.html;showmenu=finance;");
aI("text=Fire;url=/dept/fire.html;");
aI("text=Human Resources;url=/dept/hr.html;");
aI("text=Police;url=http://www.elcajonpolice.org/;");
aI("text=Public Works;url=/dept/works/;showmenu=publicworks;");
aI("text=Recreation;url=/dept/rec/;showmenu=recreation;");
aI("text=Redevelopment & Housing;url=/dept/redev/;showmenu=housing;");
}

		with(milonic=new menuname("citymanager")){
		style=menuStyle2;
		aI("text=City Bulletin Board;url=/dept/citybb/;");
		}

		with(milonic=new menuname("communitydev")){
		style=menuStyle2;
		aI("text=Building & Fire Safety Division;url=/dept/comm/build_intro.html;");
		aI("text=Planning Division;url=/dept/comm/planning.html;");
		}
		
		with(milonic=new menuname("finance")){
		style=menuStyle2;
		aI("text=Business Licenses;url=/dept/finance_licenses.html;");
		aI("text=Purchasing/Bids;url=http://www.planetbids.com/elcajon/bidsearchform.cfm;");
		aI("text=Sewer Billing;url=/dept/finance_SewerBilling.html;");
		}
		
		with(milonic=new menuname("publicworks")){
		style=menuStyle2;
		aI("text=Engineering;url=/dept/works/engineering.html;");
		aI("text=Maintenance;url=/dept/works/maintenance.html;");
		aI("text=Parks;url=/dept/works/parks.html;");
		aI("text=Recycling;url=/dept/works/recycling.html;");
		aI("text=Traffic;url=/dept/works/traffic.html;");
		aI("text=Stormwater;url=/dept/works/stormwater.html;");
		}
		
		with(milonic=new menuname("recreation")){
		style=menuStyle2;
		aI("text=How to...;url=/dept/rec/how.html;");
		aI("text=Community Centers;url=/dept/rec/community.html;");
		aI("text=Banquet Facilities;url=/dept/rec/banquet.html;");
		aI("text=Parks;url=/dept/rec/parks.html;");
		aI("text=Sport Fields;url=/dept/rec/fields.html;");
		aI("text=Playgrounds;url=/dept/rec/playgrounds.html;");
		aI("text=Classes;url=/dept/rec/classes.html;");
		aI("text=Info;url=/dept/rec/info.html;");
		}
		
		with(milonic=new menuname("housing")){
		style=menuStyle2;
		aI("text=Housing Division;url=/dept/redev/housing/index.aspx;");
		aI("text=History;url=/dept/redev/history.html;");
		aI("text=Financing;url=/dept/redev/financing.html;");
		aI("text=Projects;url=/dept/redev/projects.html;");
		aI("text=Future;url=/dept/redev/future.html;");
		aI("text=Contacts;url=/dept/redev/contacts.html;");
		}
		
with(milonic=new menuname("commissions")){
style=menuStyle2;
aI("text=Commission on Aging and Disabilities;url=/comm/aging.html;");
aI("text=Gillespie Field Development Council;url=/comm/gillespie.html;");
aI("text=Heartland Communications Facility Authority;url=/comm/commfacility.html;");
aI("text=Heartland Fire Training Facility Authority;url=/comm/firefacility.html;");
aI("text=Personnel Commission;url=/comm/personnel.html;");
aI("text=Planning Commission;url=/comm/planning.html;");
aI("text=Public Safety Facility Oversight Committee;url=/comm/public_safety.html;");
aI("text=Relocation Appeals Board;url=/comm/relocation.html;");
}

drawMenus();

