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=2;
_subOffsetLeft=-2;



_CFix = true;
with(submenuStyle=new mm_style()){
bordercolor="#99ccff";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="8pt";
fontstyle="normal";
fontweight="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
imagepadding=1;
offbgcolor="#3399ff";
offcolor="#000000";
onbgcolor="#99ccff";
onsubimage="arrow3orange3d.gif";
onborder="1px solid #3399ff";
oncolor="#000000";
outfilter="GradientWipe(duration=0.5)";
overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color=#3399ff', Direction=135, Strength=5)";
padding=3;
subimage="arrow3blue3d.gif";
subimagepadding=1;
}

with(menuStyle=new mm_style()){
styleid=1;
bordercolor="#3399ff";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="8pt";
fontstyle="normal";
fontweight="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
imagepadding=0;
offbgcolor="#99ccff";
offcolor="#000000";
onbgcolor="#3399ff";
onborder="1px solid #3399ff";
oncolor="#000000";
onsubimage="arrow3orange3d.gif";
outfilter="GradientWipe(duration=0.5)";
overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color=#3399ff', Direction=135, Strength=5)";
padding=1;
pagecolor="black";
separatorcolor="#000000";
separatorheight=15;
separatorpadding=0;
separatorsize=1;
subimage="arrow3blue3d.gif";
subimagepadding=0;
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
left=0;
orientation="horizontal";
style=menuStyle;
top=77;
aI("align=center;itemwidth=4;showmenu=Home;text=Home;");
aI("align=center;itemwidth=7;showmenu=Stations;text=Stations;");
aI("align=center;itemwidth=6;showmenu=Mobile;text=Mobile;");
aI("align=center;itemwidth=6;showmenu=Solar;text=Solar;");
aI("align=center;itemwidth=4;showmenu=Soil;text=Soil;");
aI("align=center;itemwidth=6;text=FireWx;url=http://www.pdfamily.com/weather/fire.php;");
aI("align=center;itemwidth=6;text=Astro;url=http://www.pdfamily.com/weather/astro.htm;");
aI("align=center;itemwidth=6;text=Hurricane;url=http://www.pdfamily.com/weather/hurricane.php;");
aI("align=center;itemwidth=7;showmenu=MesoMaps;text=MesoMaps;");
aI("align=center;itemwidth=6;showmenu=Radar;text=Radar;");
aI("align=center;itemwidth=8;showmenu=Lightning;text=Lightning;");
aI("align=center;itemwidth=8;showmenu=Buoy;text=Nautical;");
aI("align=center;itemwidth=8;showmenu=Data;text=Data;");
aI("align=center;itemwidth=6;showmenu=Pics;text=Pics;");
aI("align=center;itemwidth=6;showmenu=Forecast;text=Forecast;");
aI("align=center;itemwidth=6;showmenu=Interest;text=Interesting;");
aI("align=center;itemwidth=6;text=Links;url=http://www.pdfamily.com/weather/links.htm;");
aI("align=center;itemwidth=6;text=Contact;url=http://www.pdfamily.com/weather/contact.htm;");
}

with(milonic=new menuname("Home")){
margin=4;
orientation="vertical";
style=submenuStyle;
aI("text=Milford, Ma;url=http://www.pdfamily.com/weather/;");
aI("text=N. Milford, Ma;url=http://www.pdfamily.com/weather/index.php;");
}

with(milonic=new menuname("Stations")){
margin=4;
orientation="vertical";
style=submenuStyle;
aI("text=Milford, Ma;url=http://www.pdfamily.com/weather/index.html;");
aI("text=N. Milford, Ma;url=http://www.pdfamily.com/weather/index.php;");
aI("text=Cherry Valley, Ma;url=http://www.pdfamily.com/weather/cv/index.htm;");
aI("text=Lowell, Ma;url=http://www.pdfamily.com/weather/lowell.htm;");
aI("text=Add your station?;url=http://www.pdfamily.com/weather/add.htm;");
}

with(milonic=new menuname("Mobile")){
margin=4;
orientation="vertical";
style=submenuStyle;
aI("text=Milford, Ma;url=http://www.pdfamily.com/weather/pda.htm;");
aI("text=N. Milford, Ma;url=http://www.pdfamily.com/weather/pdan.htm;");
}

with(milonic=new menuname("Solar")){
margin=4;
orientation="vertical";
style=submenuStyle;
aI("text=Milford, Ma;url=http://www.pdfamily.com/weather/solar.htm;");
aI("text=N. Milford, Ma;url=http://www.pdfamily.com/weather/solarn.htm;");
}

with(milonic=new menuname("Soil")){
margin=4;
orientation="vertical";
style=submenuStyle;
aI("text=Milford, Ma;url=http://www.pdfamily.com/weather/agri.htm;");
aI("text=N. Milford, Ma;url=http://www.pdfamily.com/weather/agrin.htm;");
}

with(milonic=new menuname("MesoMaps")){
margin=4;
orientation="vertical";
style=submenuStyle;
aI("text=SNE Temps;url=http://www.pdfamily.com/weather/mesomap.htm;");
aI("text=SNE Wind Gusts;url=http://www.pdfamily.com/weather/mesowind.htm;");
aI("text=SNE Live;url=http://www.pdfamily.com/weather/meso/SNE.htm;");
aI("text=Cape Cod Live;url=http://www.pdfamily.com/weather/meso/Cape.htm;");
aI("text=Milford Area Live;url=http://www.pdfamily.com/weather/meso/Milford.htm;");
aI("text=NorthEast Live;url=http://www.pdfamily.com/weather/meso/neast.htm;");
}

with(milonic=new menuname("Radar")){
margin=4;
orientation="vertical";
style=submenuStyle;
aI("text=Index;url=http://www.pdfamily.com/weather/radar.htm;");
aI("showmenu=KBOX;text=Taunton, Ma;");
aI("showmenu=KOKX;text=Upton, NY;");
aI("showmenu=roam;text=Roaming Radar;");
aI("showmenu=mosaic;text=NWS Mosaic Loop;");
}

with(milonic=new menuname("KBOX")){
margin=4;
orientation="vertical";
style=submenuStyle;
aI("text=Base Reflective Still;url=http://www.pdfamily.com/weather/br1.htm;target=_blank;");
aI("text=Base Reflective Loop;url=http://www.pdfamily.com/weather/brloop.htm;target=_blank;");
aI("text=Base Velocity Still;url=http://www.pdfamily.com/weather/bv.htm;target=_blank;");
aI("text=Base Velocity Loop;url=http://www.pdfamily.com/weather/bvloop.htm;target=_blank;");
aI("text=Composite Reflective Still;url=http://www.pdfamily.com/weather/cr.htm;target=_blank;");
aI("text=Composite Reflective Loop;url=http://www.pdfamily.com/weather/crloop.htm;target=_blank;");
aI("text=Cloud Height Still;url=http://www.pdfamily.com/weather/tops.htm;target=_blank;");
aI("text=Cloud Height Loop;url=http://www.pdfamily.com/weather/topsloop.htm;target=_blank;");
aI("text=1 Hr Rain Still;url=http://www.pdfamily.com/weather/rain1.htm;target=_blank;");
aI("text=1 Hr Rain Loop;url=http://www.pdfamily.com/weather/rain1loop.htm;target=_blank;");
aI("text=Storm Rain Still;url=http://www.pdfamily.com/weather/raintot.htm;target=_blank;");
aI("text=Storm Rain Loop;url=http://www.pdfamily.com/weather/raintotloop.htm;target=_blank;");
aI("text=Vert. Int. Liquid Still;url=http://www.pdfamily.com/weather/vil.htm;target=_blank;");
aI("text=Vert. Int. Liquid Loop;url=http://www.pdfamily.com/weather/villoop.htm;target=_blank;");
}

with(milonic=new menuname("KOKX")){
margin=4;
orientation="vertical";
style=submenuStyle;
aI("text=Base Reflective Still;url=http://www.pdfamily.com/weather/br3.htm;target=_blank;");
aI("text=Base Reflective Loop;url=http://www.pdfamily.com/weather/brloop3.htm;target=_blank;");
aI("text=Composite Reflective Still;url=http://www.pdfamily.com/weather/cr3.htm;target=_blank;");
aI("text=Composite Reflective Loop;url=http://www.pdfamily.com/weather/crloop3.htm;target=_blank;");
aI("text=Cloud Height Still;url=http://www.pdfamily.com/weather/tops3.htm;target=_blank;");
aI("text=Cloud Height Loop;url=http://www.pdfamily.com/weather/topsloop3.htm;target=_blank;");
}

with(milonic=new menuname("roam")){
margin=4;
orientation="vertical";
style=submenuStyle;
aI("text=Base Reflective Still;url=http://www.pdfamily.com/weather/br2.htm;target=_blank;");
aI("text=Base Reflective Loop;url=http://www.pdfamily.com/weather/brloop2.htm;target=_blank;");
aI("text=Composite Reflective Still;url=http://www.pdfamily.com/weather/cr2.htm;target=_blank;");
aI("text=Composite Reflective Loop;url=http://www.pdfamily.com/weather/crloop2.htm;target=_blank;");
aI("text=Cloud Height Still;url=http://www.pdfamily.com/weather/tops2.htm;target=_blank;");
aI("text=Cloud Height Loop;url=http://www.pdfamily.com/weather/topsloop2.htm;target=_blank;");
}

with(milonic=new menuname("mosaic")){
margin=4;
orientation="vertical";
style=submenuStyle;
aI("text=North East;url=http://www.pdfamily.com/weather/nemosaic.htm;target=_blank;");
aI("text=Small Image;url=http://www.pdfamily.com/weather/mosaic.htm;target=_blank;");
aI("text=Full Size;url=http://www.pdfamily.com/weather/mosaicfull.htm;target=_blank;");
}

with(milonic=new menuname("Lightning")){
margin=4;
orientation="vertical";
style=submenuStyle;
aI("text=Strike Map;url=http://www.pdfamily.com/weather/lightning.htm;");
aI("text=StormVue;url=http://www.pdfamily.com/weather/StormVue.html;");
aI("text=Wide Area Storm Probe;url=http://www.pdfamily.com/weather/wasp2.htm;");
aI("text=Storm Watch;url=http://www.pdfamily.com/weather/storm.htm;");
aI("text=Strike Star;url=http://www.strikestarus.com/index.aspx?id=40;target=_blank;");
}

with(milonic=new menuname("Buoy")){
margin=4;
orientation="vertical";
style=submenuStyle;
aI("showmenu=tide;text=Tides;");
aI("text=Buoy Index;url=http://www.pdfamily.com/weather/buoy.php;");
aI("showmenu=Atlantic;text=Atlantic<br>Buoys;");
aI("showmenu=Great;text=Great Lakes<br>Buoys;");
aI("showmenu=Pacific;text=Pacific<br>Buoys;");
}

with(milonic=new menuname("tide")){
margin=4;
orientation="vertical";
style=submenuStyle;
aI("text=Boston;url=http://www.pdfamily.com/weather/wd/tidebos.htm;");
aI("text=CC Canal Buzzards Bay;url=http://www.pdfamily.com/weather/tideprediction.html;");
aI("text=Nantucket;url=http://www.pdfamily.com/weather/wd/tideack.htm;");
}

with(milonic=new menuname("Atlantic")){
margin=4;
orientation="vertical";
style=submenuStyle;
aI("text=Nova Scotia;url=http://www.pdfamily.com/weather/buoy/NSbuoy.php;target=_blank;");
aI("text=NorthEast;url=http://www.pdfamily.com/weather/buoy/NEbuoy.php;target=_blank;");
aI("text=Rhode Island;url=http://www.pdfamily.com/weather/buoy/RIbuoy.php;target=_blank;");
aI("text=New York;url=http://www.pdfamily.com/weather/buoy/NYbuoy.php;target=_blank;");
aI("text=Long Island;url=http://www.pdfamily.com/weather/buoy/LIbuoy.php;target=_blank;");
aI("text=New Jersey;url=http://www.pdfamily.com/weather/buoy/NJbuoy.php;target=_blank;");
aI("text=Chesapeake;url=http://www.pdfamily.com/weather/buoy/CHBbuoy.php;target=_blank;");
aI("text=SouthEast;url=http://www.pdfamily.com/weather/buoy/SEbuoy.php;target=_blank;");
aI("text=Florida;url=http://www.pdfamily.com/weather/buoy/FLbuoy.php;target=_blank;");
aI("text=Florida Gulf;url=http://www.pdfamily.com/weather/buoy/CFLbuoy.php;target=_blank;");
aI("text=Central Gulf;url=http://www.pdfamily.com/weather/buoy/CGbuoy.php;target=_blank;");
aI("text=WesternGulf;url=http://www.pdfamily.com/weather/buoy/WGbuoy.php;target=_blank;");
aI("text=Caribbean;url=http://www.pdfamily.com/weather/buoy/CBbuoy.php;target=_blank;");
aI("text=W. Caribbean;url=http://www.pdfamily.com/weather/buoy/WCBbuoy.php;target=_blank;");
aI("text=Tropics-Africa to SA;url=http://www.pdfamily.com/weather/buoy/ATbuoy.php;target=_blank;");
aI("text=UK;url=http://www.pdfamily.com/weather/buoy/UKbuoy.php;target=_blank;");
aI("text=France;url=http://www.pdfamily.com/weather/buoy/FRbuoy.php;target=_blank;");
}

with(milonic=new menuname("Great")){
margin=4;
orientation="vertical";
style=submenuStyle;
aI("text=E. Great Lakes;url=http://www.pdfamily.com/weather/buoy/EGLbuoy.php;target=_blank;");
aI("text=W. Great Lakes;url=http://www.pdfamily.com/weather/buoy/WGLbuoy.php;target=_blank;");
}

with(milonic=new menuname("Pacific")){
margin=4;
orientation="vertical";
style=submenuStyle;
aI("text=Alaska;url=http://www.pdfamily.com/weather/buoy/AKbuoy.php;target=_blank;");
aI("text=Anchorage;url=http://www.pdfamily.com/weather/buoy/AKIbuoy.php;target=_blank;");
aI("text=NW Straits;url=http://www.pdfamily.com/weather/buoy/NWbuoy.php;target=_blank;");
aI("text=Columbia River;url=http://www.pdfamily.com/weather/buoy/CRbuoy.php;target=_blank;");
aI("text=NorCal Area;url=http://www.pdfamily.com/weather/buoy/WCbuoy.php;target=_blank;");
aI("text=Monterey Bay;url=http://www.pdfamily.com/weather/buoy/MBbuoy.php;target=_blank;");
aI("text=SoCal;url=http://www.pdfamily.com/weather/buoy/SWbuoy.php;target=_blank;");
aI("text=Hawaii;url=http://www.pdfamily.com/weather/buoy/HIbuoy.php;target=_blank;");
}

with(milonic=new menuname("Data")){
margin=4;
orientation="vertical";
style=submenuStyle;
aI("text=Daily Data;url=http://www.pdfamily.com/weather/daily.htm;");
aI("text=Daily Data North;url=http://www.pdfamily.com/weather/dailyn.htm;");
aI("text=Monthly Archives;url=http://www.pdfamily.com/weather/archive.htm;");
aI("text=Hi/Low Data;url=http://www.pdfamily.com/weather/hilo.htm;");
aI("text=Hi/Low Data North;url=http://www.pdfamily.com/weather/hilon.htm;");
aI("text=2005 Climate;url=http://www.pdfamily.com/weather/2005climate.htm;");
aI("text=2006 Climate;url=http://www.pdfamily.com/weather/2006climate.htm;");
aI("text=2005/6 Snow;url=http://www.pdfamily.com/weather/snow.htm;");
aI("text=2006/7 Snow;url=http://www.pdfamily.com/weather/snow2.htm;");
aI("text=2007/8 Snow;url=http://www.pdfamily.com/weather/snow3.htm;");
aI("text=2008/9 Snow;url=http://www.pdfamily.com/weather/snow4.htm;");
}

with(milonic=new menuname("Pics")){
margin=4;
orientation="vertical";
style=submenuStyle;
aI("text=Station Pictures;url=http://www.pdfamily.com/weather/gallery-2.htm;");
aI("text=Heater Pictures;url=http://www.pdfamily.com/weather/gallery.htm;");
aI("text=Heater Mod. Notes;url=http://www.pdfamily.com/weather/heater.htm;");
}

with(milonic=new menuname("Forecast")){
margin=4;
orientation="vertical";
style=submenuStyle;
aI("text=Custom Forecast for Milford, Ma;url=http://www.pdfamily.com/weather/forecast/sim.php;");
aI("text=NWS Forecast for Milford, Ma;url=http://www.pdfamily.com/weather/forecast/nwspoint.php;");
aI("text=Compare: Custom vs NWS Forecast;url=http://www.pdfamily.com/weather/forecast/compare.php;");
aI("text=NOAA Radio Stream-Boston;url=http://www.pdfamily.com/weather/NOAA.php;");
aI("text=NOAA Radio Stream-Worcester;url=http://www.pdfamily.com/weather/NOAA2.php;");
aI("text=Watches, Warnings & Outlooks;url=http://www.pdfamily.com/weather/warn.php;");
aI("text=Taunton Forecast Discussion;url=http://www.pdfamily.com/weather/forecast/afd.php;");
}

with(milonic=new menuname("Interest")){
margin=4;
orientation="vertical";
style=submenuStyle;
aI("text=WeatherLink;url=http://www.pdfamily.com/weather/WeatherLink.htm;");
aI("text=WeatherLink North;url=http://www.pdfamily.com/weather/WeatherLinkn.htm;");
aI("text=WeatherDisplay;url=http://www.pdfamily.com/weather/wd;");
aI("text=WeatherDisplay N;url=http://www.pdfamily.com/weather/DW0552.htm;");
aI("text=Virtual Weather Station;url=http://www.pdfamily.com/weather/interest/vws.htm;");
aI("text=COLD!;url=http://www.pdfamily.com/weather/interest/cold.htm;");
aI("text=Shoveling sh....sleet!;url=http://www.pdfamily.com/weather/interest/vdaysleet.htm;");
}

drawMenus();