fixMozillaZIndex=true;

_menuCloseDelay=500           // The time delay for menus to remain visible on mouse out
_menuOpenDelay=150            // The time delay before menus open on mouse over
_followSpeed=5                // Follow scrolling speed
_followRate=40                // Follow scrolling Rate
_subOffsetTop=8              // Sub menu top offset
_subOffsetLeft=-9            // Sub menu left offset
_scrollAmount=3               // Only needed for Netscape 4.x
_scrollDelay=20               // Only needed for Netcsape 4.x

with(menuStyle=new mm_style()){
onbgcolor="#3E5370";		// Background color wnen mouse over
oncolor="#ffffff";   			// Text color when mouse over			
offbgcolor="#E0D0B9";		// Background color when mouse off
offcolor="#003366"; 			// Text color when mouse off
bordercolor="transparent";          // Border color of the menu
borderstyle="transparent";
borderwidth=0;
separatorcolor="#D5C5AF";
separatorsize="1";
padding=4;
fontsize="90%";
fontstyle="normal";
fontfamily="Verdana, Arial, Helvetica, sans-serif";
fontweight="bold";
pagecolor="#cc0000";
pagebgcolor="#ebdac2";
headercolor="#ffffff";
headerbgcolor="#ffffff";
subimage="/des/images/arrow.gif";
subimagepadding="1";
//overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)";
overfilter="";
outfilter="randomdissolve(duration=0.3)";
}

with(menuStyle1=new mm_style()){
onbgcolor="#3E5370";
oncolor="#ffffff";
offbgcolor="#E0D0B9";
offcolor="#003366";
bordercolor="#837E6A";
borderstyle="solid";
borderwidth=1;
separatorcolor="#D5C5AF";
separatorsize="1";
padding=4;
fontsize="90%";
fontstyle="normal";
fontfamily="Verdana, Arial, Helvetica, sans-serif";
fontweight="bold";
pagecolor="#cc0000";
pagebgcolor="#ebdac2";
headercolor="#ffffff";
headerbgcolor="#ffffff";
subimage="/des/images/arrow.gif";
subimagepadding="1";
overfilter="";
outfilter="randomdissolve(duration=0.3)";
}

with(milonic=new menuname("Main Menu")){
style=menuStyle;
top=150;
left=0;
itemwidth=140;
alwaysvisible=1;
orientation="vertical";
align="left";
followscroll=1;
aI("text=Emergency Services Homepage;url=index.htm;");
aI("text=DIVISIONS:;url=division.htm;");
aI("text=&nbsp;&nbsp;&nbsp;Fire Services;showmenu=FireServices;url=fire_service.htm;");
aI("text=&nbsp;&nbsp;&nbsp;Hazardous &nbsp;&nbsp;&nbsp;Materials;showmenu=HazardousMaterials;url=haz_material.htm;");
aI("text=&nbsp;&nbsp;&nbsp;Emergency &nbsp;&nbsp;&nbsp;Management;showmenu=EmergencyManagement;url=emerg_manag.htm;");
aI("text=&nbsp;&nbsp;&nbsp;Administration;showmenu=Administration;url=administ.htm;");
aI("text=Volunteer/Intern Opportunities;showmenu=Volunteer;url=volunteer.htm;");
aI("text=Links;url=link.htm;");
aI("text=Suspicious Activities;url=suspicious_activities.htm;");
}

/******************************************************************************************************/
/******************************************************************************************************/
with(milonic=new menuname("FireServices")){
style=menuStyle1;
aI("text=Bulletins and Press Releases;url=fs_prevention_bulletins.htm;");
aI("text=Permit and Inspection Services;showmenu=FS_Inspection;url=fs_permit.htm;");
aI("text=Incident Response;showmenu=FS_Incident;url=fs_incident.htm;");
aI("text=Training and SOP;showmenu=FS_Training;url=fs_training.htm;");
aI("text=VFC Forms;url=fs_form.htm;");
aI("text=VFC/City/District Fire Departments;url=fs_vfc_list.htm;");
/*aI("text=Pictures;") ;*/
}

with(milonic=new menuname("HazardousMaterials")){
style=menuStyle1;
aI("text=Aboveground Storage Tank Installations;url=fs_ps_tankstorage.htm;");
aI("text=Certified Unified Program Agencies (CUPA);url=hm_cupa.htm;");
aI("text=Forms;showmenu=HM_FORMS;url=hm_form.htm;");
aI("text=Hazardous Materials Response Team;showmenu=HM_team;url=hm_team.htm;");
aI("text=Program Fees;url=pdf/hazmat/fee.pdf;target=_blank;onfunction=showtip('PDF File: Opens Adobe Acrobat Reader in a new browser window');");
aI("text=Sonoma Green Business Program;url=../sonomagreen/index.htm;");
aI("text=Underground Storage Tank (UST) Program;showmenu=HM_UST;url=hm_ust.htm;");
}
with(milonic=new menuname("HM_FORMS")){
style=menuStyle1;
aI("text=California Electronic Reporting System (CERS);url=hm_cers.htm;");
aI("text=Community Right-to-Know (CRTK);url=hm_form.htm;");
aI("text=Hazardous Materials Business Plans (HMBP);url=hm_form_hmbp.htm;");
aI("text=Underground Storage Tanks (UST);showmenu=UST;url=hm_form_ust.htm;");
}
with(milonic=new menuname("HM_UST")){
style=menuStyle1;
aI("text=Biodiesel;url=hm_ust_biodiesel.htm;");
aI("text=Enhanced Vapor Recovery (EVR) Upgrades;url=hm_ust_evr.htm;");
aI("text=Forms;url=hm_form_ust.htm;");
aI("text=Installations;url=hm_ust_installations.htm;");
aI("text=Removals;url=hm_ust_removals.htm;");
}
with(milonic=new menuname("UST")){
style=menuStyle1;
aI("text=Certificate of Financial Responsibility;url=hm_form_ust.htm;");
aI("text=Emergency Response Plan;url=hm_form_ust.htm;");
aI("text=Form A;url=hm_form_ust.htm;");
aI("text=Form B;url=hm_form_ust.htm;");
aI("text=Form C;url=hm_form_ust.htm;");
aI("text=Monitoring plan;url=hm_form_ust.htm;");
aI("text=Permit Application;url=hm_form_ust.htm;");
}

with(milonic=new menuname("EmergencyManagement")){
style=menuStyle1;
aI("text=Special Bulletins;url=https://eoc.sonoma-county.org/special_bulletins.htm;");
aI("text=Emergency Bulletins;url=https://eoc.sonoma-county.org/catlist.asp;");
aI("text=Emergency Operations Center;url=em_eoc.htm;");
aI("text=Disaster Preparedness;showmenu=EM_Disaster;url=em_disaster.htm;");
aI("text=Community Emergency Response<br>Team (CERT) Program;url=em_cert.htm;");
aI("text=Sonoma County Hazard Mitigation Plan;url=/prmd/docs/hmp/index.htm;");
aI("text=Information Resources & Links;url=em_resource.htm;");
aI("text=Maps;url=em_map.htm;");
}

with(milonic=new menuname("Administration")){
style=menuStyle1;
aI("text=Organization Chart;url=ad_chart.htm;");
aI("text=Grant Team;url=ad_grant.htm;");
}

with(milonic=new menuname("Volunteer")){
style=menuStyle1;
aI("text=Prospective Volunteer Firefighter;url=firevolunteer.htm;");

}

/***************************************************************************************************/
/***************************************************************************************************/
with(milonic=new menuname("FS_Inspection")){
style=menuStyle1;
aI("text=County Fire Code;url=fs_ps_code.htm;");
aI("text=Fire Safe Standards;url=fs_ps_standards.htm;");
aI("text=Commercial Development Requirements;url=fs_ps_comm_dev_requirement.htm;");
aI("text=Residential Development Requirements;url=fs_ps_resid_dev_requirement.htm;");
aI("text=California Building & Fire Code Amendments, Code Interpretations;url=fs_cbc_cfc_amendments.htm;");
aI("text=Residential & Commercial Fire Sprinklers ;url=fs_ps_sprinkler.htm;");
aI("text=Special Events and Special Permits;url=fs_ps_event.htm;");
aI("text=Licensed Care Facilities;url=fs_ps_facilities.htm;");
aI("text=Vegetation Management, Weed Complaints;url=fs_ps_management.htm;");
aI("text=Aboveground Storage Tanks;url=fs_ps_tankstorage.htm;");
aI("text=Knox Key Access;url=fs_ps_knoxkey.htm;");
}

with(milonic=new menuname("FS_Incident")){
style=menuStyle1;
aI("text=Redwood Empire Dispatch Communications Authority (REDCOM);url=fs_ir_redcom.htm;");
}

with(milonic=new menuname("FS_Training")){
style=menuStyle1;
aI("text= VFC Training Calendar;url=fs_tr_calendar.htm;");
aI("text=Training Opportunities;url=fs_tr_resources.htm;");
aI("text=Standard Operating Procedures;url=fs_ps_deptsop.htm;");
}

with(milonic=new menuname("HM_team")){
style=menuStyle1;
aI("text=Training Schedule;url=hm_train.htm;");
}

with(milonic=new menuname("EM_Disaster")){
style=menuStyle1;
aI("text=Recent Events;url=em_dps_event.htm;");
aI("text=Emergency Preparedness;url=emergency_prepare.htm;");
aI("text=Personal Supply Kits;url=personal_supply_kits.htm;");
aI("text=Home Survival Kits;url=home_survival_kits.htm;");
aI("text=Auto Survival Kits;url=car_survival_kits.htm;");
aI("text=What's New;url=whats_new.htm;");
}

drawMenus();

