// JavaScript Document
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=22	;
_subOffsetLeft=-2;
buildAfterLoad=true;

with(menuStyle=new mm_style()){
	
bordercolor="#999999";
borderstyle="none";
borderwidth=0;
fontfamily="Verdana, Tahoma, Arial";
/*fontsize="90%";*/
fontsize="9pt";
fontstyle="normal";
headerbgcolor="#4B5A7F";
headercolor="#742724";
offbgcolor="none";
offcolor="#4B5A7F";
onbgcolor="none";
oncolor="#742724";
outfilter="randomdissolve(duration=0.3)";
/*overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#742724', Direction=0, Strength=0)";*/
padding=5;
pagebgcolor="none";
pagecolor="#742724";
separatorcolor="#999999";
separatorsize=0;
subimage="";
subimagepadding=2;
}

with(menuSubStyle=new mm_style()){
bordercolor="#666666";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
/*fontsize="90%";*/
fontsize="9pt";
fontstyle="normal";
headerbgcolor="#DCECF4";
headercolor="#742724";
offbgcolor="#ffffff";
offcolor="#4B5A7F";
onbgcolor="#CCD9F8";
oncolor="#742724";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color=#777777', Direction=135, Strength=3)";
padding=7;
pagebgcolor="#CCD9F8";
pagecolor="#742724";
pageclass="home_sub_nav";
separatorcolor="#999999";
separatorsize=0;
subimage="";
subimagepadding=2;

}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
left=18;
orientation="horizontal";
style=menuStyle;
top=5;
aI("text=Doing Business;url=doing_business_home.asp;showmenu=business;");
aI("text=Living &amp; Working;url=living_home.asp;showmenu=living;");
aI("text=Education;url=education_home.asp;showmenu=education;");
aI("text=Healthcare;url=healthcare_home.asp;showmenu=healthcare;");
aI("text=History, Culture &amp; Diversity;url=culture_home.asp;showmenu=culture;");
aI("text=Things to Do;url=thingstodo_home.asp;showmenu=thingstodo;");
aI("text=Going Green;url=green_home.asp;showmenu=green;");
}

	
	
with(milonic=new menuname("business")){
overflow="scroll";
style=menuSubStyle;
aI("text=Overview of Industries &raquo;;url=overview_industries.asp;showmenu=overview;");
aI("text=Business Resources;url=business_resources.asp;");
aI("text=Permits &amp; Licenses;url=permits_licenses.asp;");
aI("text=Commercial Real Estate;url=comm_real_estate.asp;");
aI("text=Utilities &amp; Transportation;url=util_trans.asp;");
aI("text=Chambers;url=chambers.asp;");
aI("text=Incentives &amp; Resources;url=incentives.asp ;")
}

with(milonic=new menuname("overview")){
overflow="scroll";
style=menuSubStyle;
aI("text=Technology Industry;url=technology_industry.asp;");
aI("text=Tourism Industry;url=tourism_industry.asp;");
aI("text=Wine Industry;url=wine_industry.asp;");
aI("text=Creative Professionals;url=creative_industry.asp;");
aI("text=Major Employers;url=major_employers.asp;");
}

with(milonic=new menuname("living")){
overflow="scroll";
style=menuSubStyle;
aI("text=Community Profiles &raquo;;url=comm_profiles.asp;showmenu=profiles;");
aI("text=Housing Options;url=housing_options.asp;");
aI("text=Utilities &amp; Transportation;url=util_trans_living.asp;");
aI("text=Working in Sonoma County &raquo;;url=working.asp;showmenu=working;");
aI("text=Government Resources;url=gov_resources.asp;");
aI("text=Senior Citizen Resources;url=sr_citizen_resources.asp;");
}

with(milonic=new menuname("profiles")){
overflow="scroll";
style=menuSubStyle;
aI("text=Reports &amp; Demographics;url=reports.asp;");
aI("text=Communities &amp; Neighborhoods;url=neighborhoods.asp;");
aI("text=Weather;url=weather.asp;");
aI("text=Surrounding Areas &amp; Maps;url=surrounding.asp;");
aI("text=Frequently Asked Questions;url=faq.asp;");
}

with(milonic=new menuname("working")){
overflow="scroll";
style=menuSubStyle;
aI("text=Employment Resources;url=employment_resources.asp;");
aI("text=Unemployment Rates &amp; Wages;url=unemployment.asp;");
aI("text=Fastest Growing Occupations;url=occupations.asp;");
}

with(milonic=new menuname("education")){
overflow="scroll";
style=menuSubStyle;
aI("text=K-12 Education;url=k12_education.asp;");
aI("text=Vocational &amp; Higher Education;url=vocation_higher_education.asp;");
aI("text=Resources for Parents;url=parent_resources.asp;");;
}

with(milonic=new menuname("healthcare")){
overflow="scroll";
style=menuSubStyle;
aI("text=Hospitals;url=hospitals.asp;");
aI("text=Healthcare Resources;url=healthcare_resources.asp;");
aI("text=Resources for Disabled Persons;url=disability_resources.asp;");
}

with(milonic=new menuname("culture")){
overflow="scroll";
style=menuSubStyle;
aI("text=History;url=history.asp;");
aI("text=Arts &amp; Museums;url=arts_museums.asp;");
aI("text=Music &amp; Theater;url=music_theater.asp;");
aI("text=Ethnic Diversity &amp; Alternative Lifestyles;url=ethnic_alternative.asp;");
aI("text=Religious &amp; Spiritual Diversity;url=religious.asp;");
}


with(milonic=new menuname("thingstodo")){
overflow="scroll";
style=menuSubStyle;
aI("text=Restaurants &amp; Breweries;url=restaurants_breweries.asp;");
aI("text=Arts &amp; Museums;url=arts_museums_todo.asp;");
aI("text=Music &amp; Theater;url=music_theater_todo.asp;");
aI("text=Sports;url=sports.asp;");
aI("text=Wine &amp; Viticulture;url=wine.asp;");
aI("text=Around Town;url=around_town.asp;");
aI("text=Outdoor Recreation;url=recreation.asp;");
aI("text=Event &amp; Tourism Resources;url=tourism.asp;");
aI("text=Senior Citizen Centers;url=sr_citizen_todo.asp;");
aI("text=Community Service;url=community_service.asp;");
}


with(milonic=new menuname("green")){
overflow="scroll";
style=menuSubStyle;
aI("text=Green Business;url=green_business.asp ;")
aI("text=Green Living;url=green_living.asp;");
aI("text=Incentives &amp; Resources;url=incentives_green.asp;");
}

drawMenus();
