_menuCloseDelay=500           // The time delay for menus to remain visible on mouse out
_menuOpenDelay=150            // The time delay before menus open on mouse over
_subOffsetTop=10              // Sub menu top offset
_subOffsetLeft=-1            // Sub menu left offset

with(menuStyle=new mm_style()){
onbgcolor="#003300";
oncolor="#FCED92";
offbgcolor="#003300";
offcolor="#FFFFFF";
bordercolor="#0B5D0B";
borderstyle="solid";
borderwidth=1;
separatorcolor="#084908";
separatorsize="1";
padding=4;
fontsize="75%";
fontstyle="normal";
fontweight="bold";
fontfamily="Verdana, Tahoma, Arial";
pagecolor="ffffff";
pagebgcolor="#003300";
headercolor="#ffffff";
headerbgcolor="#ffffff";
subimage="/images/spacer.gif";
subimagepadding="2";
//overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)";
overfilter="Fade(duration=0.2);Alpha(opacity=90)";
outfilter="randomdissolve(duration=0.3)";
}

               with(new menuname("Main Menu")){
               style=menuStyle;
               alwaysvisible=1;
               position="relative";
               aI("text=Home;url=http://www.emeraldisle-nc.org/default.htm");
               aI("text=About Emerald Isle;showmenu=about;");
               aI("text=Beach Tips & Info;url=http://www.emeraldisle-nc.org/Beachtips.htm;");
               aI("text=Citizen Online Services;showmenu=services;");
               aI("text=Contact Us;showmenu=staff;");
   	       aI("text=Frequently Asked Questions;url=http://www.emeraldisle-nc.org/faq.htm;");
               aI("text=Hurricane Information;showmenu=hurricane;");
               aI("text=Links of Interest;url=http://www.emeraldisle-nc.org/links.htm;");
               aI("text=Request Services;url=http://www.emeraldisle-nc.org/TellTownHall.htm;");
               aI("text=Town Departments;showmenu=departments;");
               aI("text=Town Government;showmenu=government;");
               aI("text=Town Manager;showmenu=townmanager;");
               aI("text=Upcoming Events;url=http://www.emeraldisle-nc.org/upcomingevents.htm;");
               aI("text=Visitor Info;showmenu=visitorinfo;");
               aI("text=Volunteer Opportunities;url=http://www.emeraldisle-nc.org/volunteers/default.htm");
               }

// Sub Menus
with(main=new menuname("about")){
style=menuStyle;
aI("text=Town History;url=http://www.emeraldisle-nc.org/history.htm");
aI("text=Beach Access;url=http://www.emeraldisle-nc.org/publicbeachaccessmaps.htm");
aI("text=Beach Driving Application/Regulations;url=http://www.emeraldisle-nc.org/beachdrivingpage.htm");
aI("text=Beach Vitex Information;url=http://www.beachvitex.org");
aI("text=Bicycle Registration Program;url=http://www.emeraldisle-nc.org/BicycleRegistration.htm");
aI("text=Bogue Banks Water Corporation;url=http://www.boguebankswater.intuitwebsites.com");
aI("text=Bogue Field – Our Military Neighbor;url=http://www.emeraldisle-nc.org/boguefield.htm");
aI("text=Carteret County Shore Protection Office;url=http://www.protectthebeach.com");
aI("text=Club Meetings;url=http://www.emeraldisle-nc.org/Clubmeetings.htm");
aI("text=Code of Ordinances;url=http://www.emeraldisle-nc.org/ordinances.htm");
aI("text=Driving Map;url=http://www.emeraldisle-nc.org/map.htm");
aI("text=Emerald Isle PinPoint Weather;url=http://www.witntv.com/weather/graphics?cityNum=2&c=y&Go=Go");
aI("text=Employment Information;url=http://www.emeraldisle-nc.org/employment.html");
aI("text=Facts & Figures;url=http://www.emeraldisle-nc.org/factsfigs.htm");
aI("text=Frequently Asked Questions;url=http://www.emeraldisle-nc.org/faq.htm");
aI("text=Rip Currents;url=http://www.emeraldisle-nc.org/ripcurrents.htm");
aI("text=Tax/Parcel Maps;url=http://www.emeraldisle-nc.org/mappage.htm");
aI("text=Tide Tables;url=http://www.emeraldisle-nc.org/tidetables.htm");
aI("text=Town Budget FY 2008-09;url=http://www.emeraldisle-nc.org/townbudget.htm");
aI("text=Town Zoning Map;url=http://www.emeraldisle-nc.org/Zoning Map.htm");
aI("text=Turtle Protection Program;url=http://www.emeraldisle-nc.org/turtles/updates.htm");
aI("text=Volunteer Opportunities;url=http://www.emeraldisle-nc.org/volunteers/default.htm");
aI("text=Unified Development Ordinance;url=http://www.emeraldisle-nc.org/UDO.htm");
aI("text=Water Access & Parks;url=http://www.emeraldisle-nc.org/eiprd/parks/default.htm");
}


with(main=new menuname("government")){
style=menuStyle;
aI("text=Board of Commissioners;url=http://www.emeraldisle-nc.org/council.htm");
aI("text=Mayors Welcome;url=http://www.emeraldisle-nc.org/welcome.htm");
aI("text=Mayors Island Review Column;url=http://www.emeraldisle-nc.org/mayorsislandreviewcolumn.htm");
aI("text=Mayors Proclamations;url=http://www.emeraldisle-nc.org/proclamationpage.htm");
aI("text=Agendas & Minutes;url=http://www.emeraldisle-nc.org/agendasandminutes.htm");
aI("text=Appointed Boards & Committees;showmenu=boards");
aI("text=Meeting Schedule;url=http://www.emeraldisle-nc.org/dates.htm");
aI("text=Meetings of Interest;url=http://www.emeraldisle-nc.org/meetings.htm");	
aI("text=Public Notice;url=http://www.emeraldisle-nc.org/public.htm");	
aI("text=FY 2008-09 Budget;url=http://www.emeraldisle-nc.org/townbudget.htm");
aI("text=June 30, 2008 Audited Financial Report;url=http://www.emeraldisle-nc.org/AuditedFinancialReport063008.htm");
aI("text=Rules of Procedure;url=http://www.emeraldisle-nc.org/rulesofprocedure.htm");
aI("text=Code of Ordinances;url=http://www.emeraldisle-nc.org/ordinances.htm");	
aI("text=CAMA Land Use Plan;url=http://www.emeraldisle-nc.org/CAMALandUsePlan.htm");
aI("text=Town Zoning Map;url=http://www.emeraldisle-nc.org/Zoning Map.htm");
aI("text=Unified Development Ordinance;url=http://www.emeraldisle-nc.org/UDO.htm");		
}

with(main=new menuname("boards")){
style=menuStyle;
aI("text=Planning Board;showmenu=planningboard;url=http://www.emeraldisle-nc.org/planningboard.htm");
aI("text=Board of Adjustment;showmenu=adjustment;url=http://www.emeraldisle-nc.org/boardofadjustment.htm");
aI("text=Bicycle and Pedestrian Committee;showmenu=bicycle;url=http://www.emeraldisle-nc.org/bikeped/bikepedmain.htm");
}

with(main=new menuname("planningboard")){
style=menuStyle;
aI("text=Agenda & Minutes;url=http://www.emeraldisle-nc.org/agendasandminutes.htm");
aI("text=Meeting Schedule;url=http://www.emeraldisle-nc.org/meetings.htm");
aI("text=2004 CAMA Land Use Plan;url=http://www.emeraldisle-nc.org/CAMALandUsePlan.htm");
aI("text=Town Zoning Map;url=http://www.emeraldisle-nc.org/Zoning Map.htm");
}

with(main=new menuname("adjustment")){
style=menuStyle;
aI("text=Agenda & Minutes;url=http://www.emeraldisle-nc.org/agendasandminutes.htm");
}


with(main=new menuname("townmanager")){
style=menuStyle;
aI("text=Managers Welcome;url=http://www.emeraldisle-nc.org/eifrankwelcome.htm");
aI("text=Town Manager & Staff;url=http://www.emeraldisle-nc.org/manager.htm");
aI("text=Emerald Tidings Newsletter;url=http://www.emeraldisle-nc.org/eitidingsmonthly.htm");
aI("text=FY 2008-09 Budget;url=http://www.emeraldisle-nc.org/townbudget.htm");
aI("text=Monthly Budget Report;url=http://www.emeraldisle-nc.org/MonthlyBudgetReport.htm");
aI("text=Archived Press Releases;url=http://www.emeraldisle-nc.org/PressReleaseArchive.htm");
}
	
with(main=new menuname("departments")){
style=menuStyle;
aI("text=Administration;url=http://www.emeraldisle-nc.org/departments/administration.htm");
aI("text=Fire;url=http://www.emeraldisle-nc.org/departments/fire.htm");
aI("text=Parks & Recreation;url=http://www.emeraldisle-nc.org/eiprd/default.htm");
aI("text=Planning & Inspections;url=http://www.emeraldisle-nc.org/departments/planning.htm");
aI("text=Police;url=http://www.emeraldisle-nc.org/departments/police.htm");
aI("text=Public Works;url=http://www.emeraldisle-nc.org/eipw/default.htm");
}

with(main=new menuname("services")){
style=menuStyle;
aI("text=Request Services;url=http://www.emeraldisle-nc.org/TellTownHall.htm");
aI("text=Online Auctions;url=http://www.emeraldisle-nc.org/govdeals.htm");
aI("text=Online Bids & RFP's;url=http://www.emeraldisle-nc.org/OnlineBidsRFPs.htm");
aI("text=Online Tax Payments;url=http://www.emeraldisle-nc.org/taxesonline.htm");
}

with(main=new menuname("visitorinfo")){
style=menuStyle;
aI("text=Chamber of Commerce;url=http://www.nccoastchamber.com");
aI("text=Emerald Isle Business Association;url=http://www.emeraldislebusinessassociation.org");
aI("text=Frequently Asked Questions;url=http://www.emeraldisle-nc.org/faq.htm");
aI("text=NC Aquarium Pier at Emerald Isle;url=http://www.ncaquariums.com/aquarium-piers/emerald-isle");
aI("text=Rip Currents;url=http://www.emeraldisle-nc.org/ripcurrents.htm");
aI("text=Tide Tables;url=http://www.emeraldisle-nc.org/tidetables.htm");
aI("text=Tourism Information;url=http://www.crystalcoastnc.org");
aI("text=Water Access & Park Info;url=http://www.emeraldisle-nc.org/eiprd/parks/default.htm");
}

with(main=new menuname("hurricane")){
style=menuStyle;
aI("text=Important Town Notices;url=http://www.emeraldisle-nc.org/hurricanetownnotices.htm");
aI("text=Hurricane Preparedness;url=http://www.emeraldisle-nc.org/hurricanepreparedness.htm");
aI("text=National Hurricane Center;url=http://www.nhc.noaa.gov");
aI("text=Special Needs Info;url=http://www.emeraldisle-nc.org/SpecialNeedsForm.htm");
}


with(main=new menuname("staff")){
style=menuStyle;
aI("text=Mayor and Commissioners;url=http://www.emeraldisle-nc.org/contact_mayorandcommissioners.htm");
aI("text=Staff;url=http://www.emeraldisle-nc.org/contact_staff.htm");
}

drawMenus()