_menuCloseDelay=50;
_menuOpenDelay=50;
_subOffsetTop=2;
_subOffsetLeft=-2;

////////////////
// Menu Styles
////////////////

with(menuStyle=new mm_style()){

bordercolor="cccccc";
borderstyle="solid";
//borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="9pt";
fontweight="bold";
//fontstyle="";
headerbgcolor="#101C5F";
headercolor="#101C5F";
offbgcolor="";
onbgcolor="";
offcolor="#101C5F";
oncolor="#101C5F";
//outfilter="randomdissolve(duration=0.3)";
//overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color=#777777', Direction=135, Strength=3)";
padding=5;
pagebgcolor="";
pagecolor="#101C5F";
separatorcolor="#D5C268";
separatorsize=1;
subimage="/dehs/images/arrow.gif";
subimagepadding=3;
}

with(menuStyle1=new mm_style()){

bordercolor="#cccccc";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="8pt";
fontweight="normal";
//fontstyle="";
headerbgcolor="#101C5F";
headercolor="#101C5F";
offbgcolor="#FFFBCC";
onbgcolor="#FFFBCC";
offcolor="#101C5F";
oncolor="#101C5F";
//outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.1);Alpha(opacity=100);Shadow(color=#777777', Direction=135, Strength=3)";
padding=3;
pagebgcolor="";
pagecolor="#101C5F";
separatorcolor="D5C268";
separatorsize=1;
subimage="";
subimagepadding=3;
}

with(menuStyle3=new mm_style()){

bordercolor="#cccccc";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="8pt";
fontweight="normal";
//fontstyle="";
headerbgcolor="#ffffff";
headercolor="#101C5F";
offbgcolor="#9999FF";
onbgcolor="#101C5F";
offcolor="#101C5F";
oncolor="#9999FF";
//outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.1);Alpha(opacity=100);Shadow(color=#777777', Direction=135, Strength=3)";
padding=5;
pagebgcolor="";
pagecolor="#101C5F";
separatorcolor="";
separatorsize=1;
subimage="";
subimagepadding=3;
}





////////////////
// MENUS
////////////////


////////////////
// Main Menu
////////////////
with(milonic=new menuname("Main Menu")){
style=menuStyle;
top=0;
left=1;
alwaysvisible=1;
orientation="vertical";
margin=4;
itemwidth=130;
maxwidth=130;
minwidth=130;
position="relative";
//resizable=true;

aI("align=left;text=DPH Home;url=http://www.sbcounty.gov/pubhlth/;");
aI("align=left;text=EHS Home;url=/dehs/Default.htm;");
aI("align=left;text=Restaurant Ratings;url=/dehs/restgrades/default.aspx;");
aI("align=left;text=General Information;url=#;showmenu=generalinfo;");
aI("align=left;text=Business Services;url=#;showmenu=businessservices;");
aI("align=left;text=FAQs;url=#;showmenu=faqs;");
aI("align=left;text=F.I.R.S.T. Food Worker Training Certification Class;url=/dehs/first/first_food_worker_training_certification_class.htm;");
aI("align=left;text=Complaints;url=/dehs/content/complaints/onlinecomplaintform.htm;");
aI("align=left;text=Contact Us;url=/dehs/contact_us.htm;");
}

/////////////////////////////////////
// General Information Menu
/////////////////////////////////////
with(milonic=new menuname("generalinfo")){
style=menuStyle1;
aI("text=A Career in Environmental Health;url=/dehs/general_information/career_in_eh.htm;");
aI("text=Cities We Serve;url=/dehs/general_information/cities_we_serve.htm;");
aI("text=Food and Restaurants;url=/dehs/general_information/food_restaurants.htm;");
aI("text=Helpful Links;url=/dehs/general_information/helpful_links.htm;");
aI("text=Housing;url=/dehs/general_information/housing.htm;");
aI("text=Needle Disposal and Medical Waste;url=/dehs/general_information/needle_disposal_and_medical_waste.htm;");
aI("text=Office Locations;url=/dehs/general_information/office_locations.htm;");
aI("text=Publications;url=/dehs/general_information/general_information_publications.htm;");
aI("text=Swimming Pools and Spas;url=/dehs/general_information/swimming_pools_and_spas.htm;");
aI("text=Tattoos and Body Piercing;url=/dehs/general_information/tattoos_and_body_piercing.htm;");
aI("text=Vector Control;url=/dehs/general_information/vector_control.htm;");
aI("text=Waste Disposal;url=/dehs/general_information/waste_disposal.htm;");
aI("text=Water/Wastewater/Land Use;url=/dehs/general_information/water_wastewater_land_use.htm;");
aI("text=West Nile Virus;url=/dehs/general_information/about_west_nile_virus.htm;");

}

/////////////////////////////////////
// Business Services menu
/////////////////////////////////////
with(milonic=new menuname("businessservices")){
style=menuStyle1;
aI("text=Applications;url=/dehs/business_services/applications.htm;");
aI("text=Fees;url=/dehs/content/fee_schedule/2008_fee_schedule_july.pdf;target=new;");
aI("text=Forms;url=http://www.sbcounty.gov/pubhlth/forms.htm;");
aI("text=Food and Restaurants;url=/dehs/business_services/food_restaurants.htm;");
aI("text=Housing;url=/dehs/business_services/housing.htm;");
aI("text=Plan Check;url=/dehs/business_services/plan_check.htm;");
aI("text=Publications;url=/dehs/business_services/business_services_publications.htm;");
aI("text=Recreational health;url=/dehs/business_services/recreational_health.htm;");
aI("text=Vector Control;url=/dehs/business_services/vector_control.htm;");
aI("text=Waste Management;url=/dehs/business_services/waste_management.htm;");
aI("text=Water/Wastewater/Land Use;url=/dehs/business_services/water_wastewater_land_use.htm;");
}




/////////////////////////////////////
// FAQs Menu
/////////////////////////////////////
with(milonic=new menuname("faqs")){
style=menuStyle1;
aI("text=F.I.R.S.T.;url=/dehs/faqs/first.htm;");
aI("text=Food and Restaurants;url=/dehs/faqs/food_and_restaurants.htm;");
aI("text=Housing;url=/dehs/faqs/housing.htm;");
aI("text=Plan Check;url=/dehs/faqs/plan_check.htm;");
aI("text=Recreational Health;url=/dehs/faqs/recreational_health.htm;");
aI("text=Vector Control;url=/dehs/faqs/vector_control.htm;");
aI("text=Waste Disposal;url=/dehs/faqs/waste_disposal.htm;");
aI("text=Water/Wastewater/Land Use;url=/dehs/faqs/water_wastewater_landuse.htm;");
}



/////////////////////////////////////
// WNV Menu
/////////////////////////////////////
with(milonic=new menuname("wnv")){
style=menuStyle1;
aI("text=About West Nile Virus;url=/dehs/general_information/about_west_nile_virus.htm;");
aI("text=Transmission of West Nile Virus;url=/dehs/general_information/transmission_west_nile_virus.htm;");
aI("text=Symptoms of West Nile Virus;url=/dehs/general_information/symptoms_west_nile_virus.htm;");
aI("text=Prevention of West Nile Virus;url=/dehs/general_information/prevention_west_nile_virus.htm;");
aI("text=Testing and Treating West Nile Encephalitis in Humans;url=/dehs/general_information/testing_treating_west_nile_virus_in_humans.htm;");
aI("text=West Nile Virus and Birds;url=/dehs/general_information/west_nile_virus_and_birds.htm;");
aI("text=West Nile Virus and Dogs and Cats;url=/dehs/general_information/west_nile_virus_and_dogs_and_cats.htm;");
aI("text=West Nile Virus and Horses;url=/dehs/general_information/west_nile_virus_and_horses.htm;");
aI("text=Map of the Progression of West Nile Virus Across the United States;url=http://www.cdc.gov/ncidod/dvbid/westnile/Mapsactivity/surv&control04Maps.htm;target=new;");
aI("text=What You Can do to Eliminate Mosquitoes;url=/dehs/general_information/what_you_can_do_eliminate_mosquitoes.htm;");
}

