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;




with(submenuStyle=new mm_style()){
bordercolor="#99cc99";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="8pt";
fontstyle="normal";
fontweight="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
imagepadding=1;
offbgcolor="#339999";
offcolor="#000000";
onbgcolor="#99cc99";
onsubimage="arrow3orange3d.gif";
onborder="1px solid #339999";
oncolor="#000000";
outfilter="wheel(duration=0.5)";
overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color=#339999', Direction=135, Strength=5)";
padding=6;
subimage="arrow3blue3d.gif";
subimagepadding=1;
}

with(menuStyle=new mm_style()){
styleid=1;
bordercolor="#339999";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="8pt";
fontstyle="normal";
fontweight="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
imagepadding=1;
offbgcolor="#99cc99";
offcolor="#000000";
onbgcolor="#339999";
onborder="1px solid #339999";
oncolor="#000000";
onsubimage="arrow3orange3d.gif";
outfilter="wheel(duration=0.5)";
overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color=#339999', Direction=135, Strength=5)";
padding=6;
pagecolor="black";
separatorcolor="#000000";
separatorheight=15;
separatorpadding=2;
separatorsize=1;
subimage="arrow3blue3d.gif";
subimagepadding=1;
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
left=0;
orientation="horizontal";
style=menuStyle;
top=77;
aI("align=center;itemwidth=60;text=Home;url=http://www.pdfamily.com/weather/cv/;");
aI("align=center;itemwidth=80;showmenu=Stations;text=Stations;");
aI("align=center;itemwidth=60;text=Mobile;url=http://www.pdfamily.com/weather/cv/pda.htm;");
aI("align=center;itemwidth=60;text=Solar;url=http://www.pdfamily.com/weather/solar.htm;");
aI("align=center;itemwidth=60;text=Astronomy;url=http://www.pdfamily.com/weather/astro.htm;");
aI("align=center;itemwidth=80;showmenu=MesoMaps;text=MesoMaps;");
aI("align=center;itemwidth=60;showmenu=Radar;text=Radar;");
aI("align=center;itemwidth=80;showmenu=Lightning;text=Lightning;");
aI("align=center;itemwidth=80;showmenu=Buoy;text=Nautical;");
aI("align=center;itemwidth=80;showmenu=Data;text=Data;");
aI("align=center;itemwidth=60;showmenu=Pics;text=Pics;");
aI("align=center;itemwidth=60;text=Forecast;url=http://www.pdfamily.com/weather/cv/forecast.htm;");
aI("align=center;itemwidth=60;text=Links;url=http://www.pdfamily.com/weather/links.htm;");
aI("align=center;itemwidth=60;text=Contact;url=http://www.pdfamily.com/weather/contact.htm;");
}

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=Kingston, Ma;url=http://www.pdfamily.com/weather/king/index.htm;");
aI("text=Cherry Valley, Ma;url=http://www.pdfamily.com/weather/cv/index.htm;");
aI("text=Add your station?;url=http://www.pdfamily.com/weather/add.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=East Coast Temps;url=http://www.pdfamily.com/weather/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=Strike Star;url=http://www.strikestarus.com/NEUS60.htm;target=_blank;");
aI("text=Storm Watch;url=http://www.pdfamily.com/weather/storm.htm;");
}

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/wd/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=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/cv/daily.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;");
}

drawMenus();