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=10;
_subOffsetLeft=0;



////////////////
// Menu Styles  
////////////////

with(menuStyle=new mm_style()){
//bordercolor="";
borderstyle="solid";
borderwidth=0;
fontfamily="Verdana, Arial, Myriad, Tahoma";
fontsize="9pt";
fontstyle="normal"; 
fontweight="bold";
headerbgcolor="#FFFFFF";
headercolor="#FFFFFF";
offbgcolor="";
offcolor="#FFFFFF";
onbgcolor="";
oncolor="#FFF799";
//onbold=1;
//onitalic=1;
//onborder="1px solid #fbb12a";
 outfilter="randomdissolve(duration=0.3)";
//outfilter="Fade(Overlap=1.00)";
//overfilter="Fade(duration=0.2);Alpha(opacity=90)";
padding=7;
//pagebgcolor="#82B6D7";
pagecolor="#FFF799";
//separatorsize=1;
separatorheight=3;
separatorwidth=145;
//separatoralign='left';
separatorimage="/greencountysb/menu/menu_divider_image.jpg";
subimage="/greencountysb/menu/right_arrow_white.gif";
subimagepadding=1;
}


with(submenuStyle=new mm_style()){
bordercolor="";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Arial, Myriad, Tahoma";
fontsize="8pt";
fontstyle="";
fontweight="normal";
headerbgcolor="#FFFFFF";
headercolor="#FFFFFF";
offbgcolor="#436616";
onbgcolor="#436616";
offcolor="#FFFFFF";
oncolor="#FFF799";
onitalic=0;
//outfilter="Blinds( Bands=1,direction=left, duration=0.3)";
//overfilter="Blinds( Bands=1,direction=right, duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=5)";
//outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Shadow(color=#777777', Direction=135, Strength=5)";
padding=4;
//pagebgcolor="#82B6D7";
pagecolor="#FFFFFF";
separatorcolor="#FFFFFF";
separatorsize=1;
//subimage="/greencountysb/menu/right_arrow_white.gif";
//subimageover="/pubhlth-new/images/right_arrow_gold.gif";
subimagepadding=1;

}


with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
top=350;
left=0;
orientation="vertical";
style=menuStyle;
margin=3;
position="absolute";
//menuheight="206";
menuwidth="155";

aI("align=left;rawcss=padding-bottom:1px;rawcss=padding-left:2px;status=Back To Home Page;text=Home;url=/greencountysb/default.htm;");

aI("align=left;rawcss=padding-bottom:1px;rawcss=padding-left:2px;text=About Green County;url=;showmenu=aboutgreencounty;");

aI("align=left;rawcss=padding-bottom:1px;rawcss=padding-left:2px;status=Back To Home Page;text=County Projects;url=;showmenu=countyprojects;");

aI("align=left;rawcss=padding-bottom:1px;rawcss=padding-left:2px;text=Regional Projects;url=;showmenu=regionalprojects;");

aI("align=left;rawcss=padding-bottom:1px;rawcss=padding-left:2px;text=Green Valley Initiative Cities;url=/greencountysb/green_valley_initiative_cities.htm;");

//aI("align=left;rawcss=padding-bottom:1px;rawcss=padding-left:2px;text=Green Tips;url=/greencountysb/green_tips.htm;");

aI("align=left;rawcss=padding-bottom:1px;rawcss=padding-left:2px;text=Builders;url=/greencountysb/builders/green_building.aspx;");

aI("align=left;rawcss=padding-bottom:1px;rawcss=padding-left:2px;text=Businesses;url=;showmenu=businesses;");

aI("align=left;rawcss=padding-bottom:1px;rawcss=padding-left:2px;text=Residents;url=;showmenu=residents;");

aI("align=left;rawcss=padding-bottom:1px;rawcss=padding-left:2px;text=Press Releases;url=/greencountysb/press_releases.htm;");

aI("align=left;rawcss=padding-bottom:1px;rawcss=padding-left:2px;text=Water-efficient Landscaping;url=/greencountysb/water_efficient_landscaping/water_efficient_landscaping.htm;");

aI("align=left;rawcss=padding-bottom:1px;rawcss=padding-left:2px;text=Green Links;url=/greencountysb/green_links.htm;");

aI("align=left;rawcss=padding-bottom:1px;rawcss=padding-left:2px;text=Contact Information;url=/greencountysb/contact_information.htm;");
}

/////////////////////////////////////
// About Green County Menu
/////////////////////////////////////
with(milonic=new menuname("aboutgreencounty")){
overflow="scroll";
style=submenuStyle;
//position="relative";
//left=172;
//top=400;
aI("text=About Green County;url=/greencountysb/about_gc.htm;")
aI("text=San Bernardino County Has Gone GREEN!;url=/greencountysb/content/about_green_county/20090914_gc_brochure.pdf;target=new;")


}


/////////////////////////////////////
// County Projects Menu
/////////////////////////////////////
with(milonic=new menuname("countyprojects")){
overflow="scroll";
style=submenuStyle;
//position="relative";
//left=172;
//top=400;
aI("text=Barstow Sheriff Landscape Project;url=/greencountysb/county_projects/barstow_sheriff_landscape_project.htm;")
aI("text=Commuter Services;url=/greencountysb/county_projects/commuter_services.htm;")
aI("text=Facilities Management Demonstration Garden;url=/greencountysb/county_projects/facilities_management_demo_garden.htm;")
aI("text=Green Fleet;url=/greencountysb/county_projects/transportation_accomplishments.htm;")
aI("text=LEED New/Renovation County Buildings;url=/greencountysb/county_projects/leed_new_county_buildings.htm;")
aI("text=Pacific Power Management, LLC;url=/greencountysb/county_projects/pacific_power_management.htm;")
aI("text=Reusable Bags;url=/greencountysb/county_projects/reusable_bags.htm;")
aI("text=The Green Valley Initiative;url=/greencountysb/county_projects/green_valley_initiative.htm;")


}

/////////////////////////////////////
// Water-efficient Landscaping Menu
/////////////////////////////////////
with(milonic=new menuname("landscaping")){
overflow="scroll";
style=submenuStyle;
//position="relative";
//left=172;
aI("text=Alternative Commuting;url=/greencountysb/green_county/commuter_services.htm;")
aI("text=Household Hazardous Waste;url=/greencountysb/green_county/commuter_services.htm;")
aI("text=Green Business Directory;url=/greencountysb/green_county/commuter_services.htm;")
aI("text=Recreational Activities;url=/greencountysb/green_county/commuter_services.htm;")
aI("text=Energy Efficient Waiver;url=/greencountysb/green_county/commuter_services.htm;")
}

/////////////////////////////////////
// Residents Menu
/////////////////////////////////////
with(milonic=new menuname("residents")){
overflow="scroll";
style=submenuStyle;
//position="relative";
//left=172;
aI("text=Alternative Commuting;url=/greencountysb/residents/alternative_commuting.htm;")
aI("text=Building Permit Fee Waivers Energy Efficient Systems;url=/greencountysb/businesses/building_permit_fee_waivers.htm;")
aI("text=Clean Cars;image=/greencountysb/images/pdficon.gif;imagewidth=15;imageheight=15;url=http://www.aqmd.gov/CleanAirChoices/2009CAClist.pdf;target=new;")
aI("text=Countywide Bicycle Maps;url=/greencountysb/residents/countywide_bicycle_map.htm;")
aI("text=Green Business Directory;url=/greencountysb/residents/business_directory.htm;")
aI("text=Medical Services and Emergency Call Numbers;url=/greencountysb/residents/medical_and_emergency_phone_numbers.htm;")
aI("text=Household Hazardous Waste;url=/greencountysb/residents/household_hazardous_waste.htm;")
aI("text=Rebates Available to Residents;url=/greencountysb/residents/rebates_for_residents.htm;")
aI("text=Residential Tips;url=/greencountysb/residents/residential_tips_new.htm;")

}

/////////////////////////////////////
// Businesses Menu
/////////////////////////////////////
with(milonic=new menuname("businesses")){
overflow="scroll";
style=submenuStyle;
//position="relative";
//left=172;
aI("text=Business Recycling Guide;image=/greencountysb/images/pdficon.gif;imagewidth=15;imageheight=15;url=/greencountysb/content/businesses/business_recycling_guide_sb_county.pdf;target=new;")
aI("text=Building Permit Fee Waivers Energy Efficient Systems;url=/greencountysb/businesses/building_permit_fee_waivers.htm;")
aI("text=Rebates Available to Businesses;url=/greencountysb/businesses/rebate_for_businesses.htm;")
aI("text=Small Business Waste;url=/greencountysb/businesses/small_business_waste.htm;")
aI("text=Telecommuting Guide;image=/greencountysb/images/pdficon.gif;imagewidth=15;imageheight=15;url=/greencountysb/content/businesses/telecommuting guide.pdf;target=new;")
aI("text=Tips for Businesses;url=/greencountysb/businesses/tips_for_businesses.htm;")
}

/////////////////////////////////////
// Builders Menu
/////////////////////////////////////
with(milonic=new menuname("builders")){
overflow="scroll";
style=submenuStyle;
//position="relative";
//left=172;
aI("text=LEED Buildings;url=/greencountysb/builders/leed_buildings.htm;")
aI("text=San Bernardino County Green Builder Program;url=/greencountysb/builders/green_builder_program.htm;")
}

/////////////////////////////////////
// Regional Projects Menu
/////////////////////////////////////
with(milonic=new menuname("regionalprojects")){
overflow="scroll";
style=submenuStyle;
//position="relative";
//left=172;
aI("text=Cucamonga Valley Water District Solar Project;url=/greencountysb/regional_projects/cvwd.htm;")
aI("text=General Motors Solar Systems;url=/greencountysb/regional_projects/general_motors.htm;")
aI("text=Harmony at CenterStone Estates;url=/greencountysb/regional_projects/harmony_centerstone_estates.htm;")
aI("text=Porsche Logistics, LLC;url=/greencountysb/regional_projects/porsche_logistics.htm;")
aI("text=ProLogis/SCE Solar Rooftop;url=/greencountysb/regional_projects/prologis.htm;")
aI("text=Sam J. Racadio Library and Environmental Learning Center;url=/greencountysb/regional_projects/highland_library.htm;")
aI("text=Skyforest Dream Home;url=/greencountysb/regional_projects/skyforest_dream_home.htm;")
aI("text=The Frontier Project;url=/greencountysb/regional_projects/frontier_project.htm;")
aI("text=The Inland Empire Utilities Agency;url=/greencountysb/regional_projects/ieau.htm;")
aI("text=The Lewis Library and Technology Center;url=/greencountysb/regional_projects/lewis_library.htm;")
aI("text=Victorville 2 Hybrid Plant;url=/greencountysb/regional_projects/victorville_hybrid.htm;")
aI("text=Victory Homes;url=/greencountysb/regional_projects/victory_homes.htm;")
}




drawMenus();
