fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=600;
_menuOpenDelay=150;
_subOffsetTop=0;
_subOffsetLeft=35;
leftSubOffset = "offset=0";





with(menuStyle=new mm_style()){
bordercolor="#000000";
borderstyle="solid";
borderwidth=0;
fontfamily="Garamond, Times, Times New Roman, serif";
fontsize="14px";
fontstyle="normal";
fontweight="bold";
headerbgcolor="#ffffff";
headercolor="#ffffff";
offbgcolor="#003366";
offcolor="#f4e321";
onbgcolor="#f4e321";
oncolor="#003366";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color=#777777', Direction=135, Strength=0)";
padding=6;
pagebgcolor="#d4e4ea";
pagecolor="black";
separatorcolor="#f4e321";
separatorsize=1;
subimage="mainarrow.gif";
subimagepadding=2;
}



with(subStyle=new mm_style()){
bordercolor="#003366";
borderstyle="solid";
borderwidth=1;
fontfamily="Garamond, Times, Times New Roman, serif";
fontsize="14px";
fontstyle="normal";
fontweight="bold";
headerbgcolor="#ffffff";
headercolor="#ffffff";
offbgcolor="#d4e4ea";
offcolor="#003366";
onbgcolor="#f4e321";
oncolor="#003366";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=97);Shadow(color=#777777', Direction=135, Strength=5)";
padding=6;
pagebgcolor="#d4e4ea";
pagecolor="black";
separatorcolor="#003366";
separatorsize=1;
subimage="subarrow.gif";
subimagepadding=2;
}



with(subsubStyle=new mm_style()){
bordercolor="#003366";
borderstyle="solid";
borderwidth=1;
fontfamily="Garamond, Times, Times New Roman, serif";
fontsize="14px";
fontstyle="normal";
fontweight="bold";
headerbgcolor="#ffffff";
headercolor="#ffffff";
offbgcolor="#d4e4ea";
offcolor="#003366";
onbgcolor="#f4e321";
oncolor="#003366";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=97);Shadow(color=#777777', Direction=135, Strength=5)";
padding=6;
pagebgcolor="#d4e4ea";
pagecolor="black";
separatorcolor="#003366";
separatorsize=1;
subimage="subarrow.gif";
subimagepadding=2;
}


with(milonic=new menuname("Land Main")){
overflow="scroll";
style=subStyle;
left=leftSubOffset;
aI("showmenu=Land Conservation Sub;text=Land Conservation;");
}

with(milonic=new menuname("Land Conservation Sub")){
overflow="scroll";
style=subsubStyle;
left="offset=-35"
aI("text=News;url=land_news.php;");
aI("text=Protected Vistas;url=land_protected_vistas.php;");
aI("text=Conservation by Town;url=land_conservation_town.php;");
aI("text=Protected Farms;url=land_protected_farms.php;");
aI("text=Economic Benefits;url=land_economic_benefits.php;");
}

with(milonic=new menuname("Water")){
overflow="scroll";
style=subStyle;
aI("text=In the News;url=water_news.php;");
aI("text=Nitrogen Reduction;url=water_nitrogen_reduction.php;");
aI("text=Chemical Free Lawns;url=water_chem_free_lawns.php;");
aI("text=Alternative Septic;url=water_alternative_septic.php;");
aI("text=Mass Estuary Project;url=water_mass_estuary.php;");
aI("showmenu=Water Alliance Sub;text=MV Water Alliance;");
aI("text=Information;url=water_information.php;");
aI("text=Grants &amp; Gov. Info;url=water_grants_gov_info.php;");
aI("text=Links;url=water_links.php;");
}

with(milonic=new menuname("Water Alliance Sub")){
overflow="scroll";
style=subsubStyle;
left="offset=-35"
aI("text=Information;url=water_WA_info.php;");
aI("text=Meeting Times;url=water_WA_meeting_times.php;");
}

with(milonic=new menuname("Sustainability")){
overflow="scroll";
style=subStyle;
aI("text=In the News;url=sustainability_news.php;");
aI("text=Organic Info;url=sustainability_organic_info.php;");
aI("text=Local Organic Farms;url=sustainability_local_farms.php;");
aI("text=Links;url=sustainability_links.php;");
}

with(milonic=new menuname("Energy")){
overflow="scroll";
style=subStyle;
aI("text=In the News;url=energy_news.php;");
aI("text=Biodiesel;url=energy_biodiesel.php;");
aI("text=Solar;url=energy_solar.php;");
aI("text=Wind;url=energy_wind.php;");
aI("text=Hydrogen;url=energy_hydrogen.php;");
aI("text=Geothermal;url=energy_geothermal.php;");
aI("text=Energy Info &amp; Links;url=energy_energy_info.php;");
aI("text=Energy Groups;url=energy_groups.php;");
aI("showmenu=Energy Transportation Sub;text=Transportation;");
}

with(milonic=new menuname("Energy Transportation Sub")){
overflow="scroll";
style=subsubStyle;
left="offset=-35"
aI("text=Airport Expansion;url=energy_trans_airport.php;");
aI("text=Alternative Transportation;url=energy_trans_alternative.php;");
aI("text=MVTA Bus Routes;url=energy_trans_mvta.php;");
aI("text=Biking;url=energy_trans_biking.php;");
aI("text=Links;url=energy_trans_links.php;");
}


with(milonic=new menuname("Recycling")){
overflow="scroll";
style=subStyle;
aI("text=In the News;url=recycling_news.php;");
aI("text=Composting;url=recycling_composting.php;");
aI("text=Biodegradable Products;url=recycling_biodegradable.php;");
aI("text=Household Hazardous Waste;url=recycling_household_hazard.php;");
aI("text=Schedules;url=recycling_schedules.php;");
aI("text=Links;url=recycling_links.php;");
}

with(milonic=new menuname("Island Plan")){
overflow="scroll";
style=subStyle;
aI("text=In the News;url=island_plan_news.php;");
}

with(milonic=new menuname("Local Media Menu")){
overflow="scroll";
style=subStyle;
aI("text=Local Media;url=local_media.php;");
}

with(milonic=new menuname("Environmental Education")){
overflow="scroll";
style=subStyle;
aI("text=In the News;url=environ_edu_news.php;");
aI("text=Toxins &amp; Pesticides;url=environ_edu_toxins_pesticides.php;");
aI("text=Environmental Links;url=environ_edu_links.php;");
}

with(milonic=new menuname("Global Issues")){
overflow="scroll";
style=subStyle;
aI("text=Climate;url=global_issues_climate.php;");
aI("text=Wildlife;url=global_issues_wildlife.php;");
}

with(milonic=new menuname("Environmental Links")){
overflow="scroll";
style=subStyle;
aI("text=Weather.com;url=http://www.weather.com;");
aI("text=Google Earth;url=http://earth.google.com/;");
aI("text=Tide Charts;url=http://www.saltwatertides.com;");
aI("text=Woods Hole Oceanographic Institute (WHOI);url=http://www.whoi.edu/;");
aI("text=Martha's Vineyard Webcams;url=http://www.mvol.com/articles/51/;");
aI("text=Martha's Vineyard a Coastal Observatory: A long term facility;url=http://ieeexplore.ieee.org/Xplore/guesthome.jsp;");
aI("text=Wampanoag Environmental Laboratory;url=http://www.wampanoagtribe.net/Pages/Wampanoag_NatResource/laboratory;");
}

drawMenus();

