/*
 Milonic DHTML Website Navigation Menu - Version 3.5
 Written by Andy Woolley - Copyright 2002 (c) Milonic Solutions Limited. All Rights Reserved.
 Please visit http://www.milonic.co.uk/menu or e-mail menu3@milonic.com for more information.
 
 The Free use of this menu is only available to Non-Profit, Educational & Personal web sites.
 Commercial and Corporate licenses  are available for use on all other web sites & Intranets.
 All Copyright notices MUST remain in place at ALL times and, please keep us informed of your 
 intentions to use the menu and send us your URL.
*/


//The following line is critical for menu operation, and MUST APPEAR ONLY ONCE. If you have more than one menu_array.js file rem out this line in subsequent files
menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<script language=javascript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/script>";_d.write(mt)}
//Please leave the above line intact. The above also needs to be enabled if it not already enabled unless this file is part of a multi pack.



////////////////////////////////////
// Editable properties START here //
////////////////////////////////////

// Special effect string for IE5.5 or above please visit http://www.milonic.co.uk/menu/filters_sample.php for more filters
effect = "Fade(duration=0.2);Alpha(style=0,opacity=88);Shadow(color='#777777', Direction=135, Strength=5)"


_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=Town Government;showmenu=government;");
               aI("text=Town Manager;showmenu=townmanager;");
               aI("text=Town Departments;showmenu=departments;");
               aI("text=Town Services;showmenu=services;");
               aI("text=Visitor Info;showmenu=visitorinfo;");
               aI("text=Upcoming Events;url=upcomingevents.htm;");
               aI("text=Online Tax Payments;url=http://www.emeraldisle-nc.org/onlinetaxpayments.htm;");
               aI("text=Online Auctions;url=http://www.emeraldisle-nc.org/govdeals.htm;");
               aI("text=Hurricane Information;showmenu=hurricane;");
               aI("text=Featured Links;showmenu=links;");
               aI("text=Contact Us;showmenu=staff;");
               }

// Sub Menus
with(main=new menuname("about")){
style=menuStyle;
aI("text=Town History;url=http://www.emeraldisle-nc.org/history.htm");
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=Tax/Parcel Maps;url=http://www.emeraldisle-nc.org/mappage.htm");
aI("text=Driving Map;url=http://www.emeraldisle-nc.org/map.htm");
aI("text=Beach Access;url=http://www.emeraldisle-nc.org/publicbeachaccessmaps.htm");
aI("text=Beach Driving Regulations;url=http://www.emeraldisle-nc.org/beachdrivingpage.htm");
aI("text=Volunteer Information;url=http://www.emeraldisle-nc.org/volunteers/default.htm");
aI("text=Turtle Protection Program;url=http://www.emeraldisle-nc.org/turtles/default.htm");
aI("text=Bogue Field – Our Military Neighbor;url=http://www.emeraldisle-nc.org/boguefield.htm");
aI("text=Emerald Isle PinPoint Weather;url=http://www.witntv.com/weather/graphics?cityNum=2&c=y&Go=Go");
}


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/mayorsislandreview.htm");
aI("text=Agendas & Minutes;url=http://www.emeraldisle-nc.org/agendasandminutes.htm");
aI("text=Meeting Schedule;url=http://www.emeraldisle-nc.org/meetings.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 Budget;url=http://www.emeraldisle-nc.org/townbudget.htm");	
aI("text=Appointed Boards;showmenu=boards");
}

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");
}

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");
}

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=Monthly Budget Report;url=http://www.emeraldisle-nc.org/MonthlyBudgetReport.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/departments/publicworks.htm");
}

with(main=new menuname("services")){
style=menuStyle;
aI("text=Yard Waste Collection;url=http://www.emeraldisle-nc.org/yardwaste.htm");
aI("text=Schedule an Inspection;url=http://www.emeraldisle-nc.org/inspectionrequestform.htm");
aI("text=Online Auction;url=http://www.emeraldisle-nc.org/govdeals.htm");
aI("text=Residents & Visitors Guide;url=http://www.emeraldisle-nc.org/PDFs/EI-VisitorsGuide.pdf");
}

with(main=new menuname("visitorinfo")){
style=menuStyle;
aI("text=Tourism Development Authority;url=http://www.sunnync.com");
aI("text=Emerald Isle Business Association;url=http://www.emeraldislebusiness.com");
aI("text=Chamber of Commerce;url=http://www.nccoastchamber.com");
aI("text=Residents & Visitors Guide;url=http://www.emeraldisle-nc.org/PDFs/EI-VisitorsGuide.pdf");
}

with(main=new menuname("hurricane")){
style=menuStyle;
aI("text=Important Town Notices;url=http://www.emeraldisle-nc.org/importanttownnotices.htm");
aI("text=Hurricane Preparedness;url=http://www.nhc.noaa.gov");
}

with(main=new menuname("links")){
style=menuStyle;
aI("text=Links of Interest;url=http://www.emeraldisle-nc.org/links.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()