// JavaScript Document

fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=100;
_menuOpenDelay=100;
_subOffsetTop=5;
_subOffsetLeft=-3;

with(AllImagesStyle=new mm_style()){
styleid=1;
bordercolor="#000000";
borderstyle="solid";
fontstyle="normal";
fontweight="normal";
padding=1;
separatorcolor="#DCDCDC"; 
separatorsize="1"; 
separatorwidth=1; 
separatorheight=21; 
separatorimage="/images/navigation/vert-bar.gif"; 
}

<!-- with(menuStyle=new mm_style()){
<!-- bordercolor="#ffffff";
<!-- borderstyle="solid";
<!-- borderwidth=0;
<!-- offbgcolor="#ffffff";
<!-- offcolor="#ffffff";
<!-- offclass="mnglob";
<!-- onbgcolor="#ffffff";
<!-- oncolor="#B9BEC2";
<!-- padding=2;
<!-- pagebgcolor="#1AE090";
<!-- pagecolor="black";
<!-- separatorcolor="#8E9295";
<!-- separatorsize=1;
<!-- separatorwidth=0;
<!-- subimage="/includes/menu/arrow-down.gif";
<!-- subimagepadding=0;
<!-- }

with(submenuStyle=new mm_style()){
<!-- bordercolor="#B9BEC2";
<!-- borderstyle="solid";
<!-- borderwidth=1;
offbgcolor="#9f9b74";
offcolor="#ffffff";
offclass="smglob";
onbgcolor="#cfcdb9";
oncolor="#00344d";
overfilter="Fade(duration=0.2);Alpha(opacity=94);";
padding=4;
<!-- pagebgcolor="#1AE090";
<!-- pagecolor="black";
separatorcolor="#9f9b74";
separatorsize=1;
separatorwidth="150";
subimage="/includes/menu/arrow.gif";
subimagepadding=2;
}

<!--- ======================================================
<!--- START A -- FOR RESIDENTS NAV --->
<!--- ======================================================

with(milonic=new menuname("for-residents")){
<!--overflow="scroll"; -->
style=submenuStyle;
aI("text=Overview;url=/for-residents/;status=Overview;");
aI("text=Welcome;url=/for-residents/welcome/index.asp;status=Welcome;");
aI("text=New to Town;url=/for-residents/new-to-town/index.asp;status=New to Town;");
aI("text=City Maps;url=/for-residents/city-maps/index.asp;status=City Maps;");
aI("text=Recreation;url=/for-residents/recreation/index.asp;status=Recreation;");
<!--- aI("text=Safety Regulations;url=/for-residents/safety-regulations/index.asp;status=Safety Regulations;"); --->
aI("text=Residential Codes;url=/for-residents/residential-codes/index.asp;status=Residential Codes;");
aI("text=Pet Ordinances;url=/for-residents/pet-ordinances/index.asp;status=Pet Ordinances;");
}

<!--- ======================================================
<!--- START B -- ABOUT THE COMMUNITY NAV --->
<!--- ======================================================

with(milonic=new menuname("about-the-community")){
<!-- overflow="scroll"; -->
style=submenuStyle;
aI("text=Overview;url=/about-the-community/;status=Overview;");
aI("text=History;url=/about-the-community/history/index.asp;status=History;");
aI("text=Recreational Activities;url=/about-the-community/recreational-activities/index.asp;status=Recreational Activities;");
aI("text=Parks;url=/about-the-community/parks/index.asp;status=Parks;");
aI("text=Church Listings;url=/about-the-community/church-listings/index.asp;status=Church Listings;");
aI("text=Schools;url=/about-the-community/schools/index.asp;status=Schools;");
aI("text=Public Library;url=/about-the-community/public-library/index.asp;status=Public Library;");
aI("text=Shopping;url=/about-the-community/shopping/index.asp;status=Shopping;");
aI("text=Area Websites;url=/about-the-community/area-links/index.asp;status=Area Websites;");
}

<!--- START B-SUB - Recreational Activities SUBNAV --->
with(milonic=new menuname("recreational-activities")){
<!-- overflow="scroll"; -->
style=submenuStyle;
aI("text=Registration;url=/about-the-community/recreation/recreational-activities/registration.asp;status=Registration;");
}

<!--- ======================================================
<!--- START C -- TOURISM NAV --->
<!--- ======================================================

with(milonic=new menuname("tourism")){
<!-- overflow="scroll"; -->
style=submenuStyle;
<!--aI("text=Overview;url=/tourism/;status=Overview;");-->
aI("text=Visiting Spirit Lake;url=/tourism/visiting-spirit-lake/index.asp;status=Visiting Spirit Lake;");
aI("text=Points of Interest;url=/tourism/points-of-interest/index.asp;showmenu=pointsinterest;status=Points of Interest;");
aI("text=Plan Your Trip;url=/tourism/plan-your-trip/index.asp;status=Plan Your Trip;");
aI("text=Area Accommodations;url=/tourism/area-accommodations/index.asp;showmenu=accommodations;status=Area Accommodations;");
}

<!--- START C-SUB - Accommodations SUBNAV --->
with(milonic=new menuname("accommodations")){
<!-- overflow="scroll"; -->
style=submenuStyle;
aI("text=Bed & Breakfast;url=/tourism/area-accommodations/b-b/index.asp;status=Bed & Breakfast;");
aI("text=Hotels / Resorts;url=/tourism/area-accommodations/hotel-resorts/index.asp;status=Hotels / Resorts;");
aI("text=Campgrounds;url=/tourism/area-accommodations/campgrounds/index.asp;status=Campgrounds;");
}

<!--- START C-SUB - Points of Interest SUBNAV --->
with(milonic=new menuname("pointsinterest")){
<!-- overflow="scroll"; -->
style=submenuStyle;
aI("text=City Parks;url=/tourism/points-of-interest/city-parks/index.asp;status=City Parks;");
aI("text=State Park Facilities;url=/tourism/points-of-interest/state-park/index.asp;status=State Park Facilities;");
aI("text=Local Attractions;url=/tourism/points-of-interest/local-attractions/index.asp;status=Local Attractions;");
aI("text=Golf Courses;url=/tourism/points-of-interest/golf-courses/index.asp;status=Golf Courses;");
aI("text=Outdoor Recreation Trails;url=/tourism/points-of-interest/outdoor-recreation/index.asp;status=Outdoor Recreation Trails;");
}
<!--- ======================================================
<!--- START D -- ECONOMIC DEVELOPMENT NAV --->
<!--- ======================================================

with(milonic=new menuname("economic-development")){
<!-- overflow="scroll"; -->
style=submenuStyle;
aI("text=Overview;url=/economic-development/;status=Overview;");
<!--aI("text=Demographics;url=/economic-development/demographics/index.asp;status=Demographics;");-->
aI("text=Market Information;url=/economic-development/economic-indicators/index.asp;status=Market Information;");
<!--- aI("text=Quality of Life;url=/economic-development/quality-of-life/index.asp;status=Quality of Life;"); --->
aI("text=Sites & Vacancies;url=/economic-development/sites-vacancies/index.asp;status=Sites & Vacancies;");
<!--- aI("text=Development Corridor;url=/economic-development/development-corridor/index.asp;status=Development Corridor;"); --->
<!--- aI("text=Programs & Incentives;url=/economic-development/programs-incentives/index.asp;status=Programs & Incentives;"); --->
<!--- aI("text=Contracts Open For Bids;url=/economic-development/contracts-bids/index.asp;status=Contracts Open For Bids;"); --->
aI("text=Continuing Education;url=/economic-development/continuing-education/index.asp;status=Continuing Education;");
}

<!--- START D-SUB - Sites & Vacancies SUBNAV --->
with(milonic=new menuname("sites-vacancies")){
<!-- overflow="scroll"; -->
style=submenuStyle;
aI("text=Subdivisions Update;url=/economic-development/sites-vacancies/subdivisions-update/index.asp;status=Subdivisions Update;");
aI("text=Maps;url=/economic-development/sites-vacancies/maps/index.asp;status=Maps;");
}

<!--- ======================================================
<!--- START E -- COMMUNITY DEVELOPMENT NAV --->
<!--- ======================================================

with(milonic=new menuname("community-development")){
<!-- overflow="scroll"; -->
style=submenuStyle;
aI("text=Overview;url=/community-development/;status=Overview;");
aI("text=Services;url=/community-development/services/index.asp;status=Services;");
aI("text=Master Plan Elements;url=/community-development/master-plan-elements/index.asp;status=Master Plan Elements;");
aI("text=Capital Improvement Plan;url=/community-development/capital-improvement-plan/index.asp;status=Capital Improvement Plan;");
aI("text=Community Standards;url=/community-development/community-standards/index.asp;showmenu=community-standards;status=Community Standards;");
aI("text=Code Compliance;url=/community-development/code-compliance/index.asp;showmenu=code-compliance;status=Code Compliance;");
}

<!--- START E-SUB - Community Development SUBNAV --->
with(milonic=new menuname("community-standards")){
<!-- overflow="scroll"; -->
style=submenuStyle;
aI("text=Community Property Maintenance;url=/community-development/community-standards/community-property-maintenance/index.asp;status=Community Property Maintenance;");
aI("text=Contact Property Maintenance Inspector;url=/community-development/community-standards/property-maintenance-inspector/index.asp;status=Contact Property Maintenance Inspector;");
aI("text=Frequently Asked Questions;url=/community-development/community-standards/faq/index.asp;status=Frequently Asked Questions;");
aI("text=Parking Regulations;url=/community-development/community-standards/parking-regulations/index.asp;status=Parking Regulations;");
aI("text=Temporary Signs;url=/community-development/community-standards/temporary-signs/index.asp;status=Temporary Signs;");
aI("text=Weeds and High Grass;url=/community-development/community-standards/weeds-high-grass/index.asp;status=Weeds and High Grass;");
}

<!--- START E-SUB - Community Development SUBNAV --->
with(milonic=new menuname("code-compliance")){
<!-- overflow="scroll"; -->
style=submenuStyle;
aI("text=ADA;url=/community-development/code-compliance/ada/index.asp;status=ADA;");
aI("text=Adopted Building Codes;url=/community-development/code-compliance/adopted-building-codes/index.asp;status=Adopted Building Codes;");
aI("text=Building / Fire Code Appeals;url=/community-development/code-compliance/building-fire-code-appeals/index.asp;status=Building / Fire Code Appeals;");
aI("text=Certificate of Occupancy;url=/community-development/code-compliance/certificate-of-occupancy/index.asp;status=Certificate of Occupancy;");
aI("text=Contractor Registration / Licensing;url=/community-development/code-compliance/contractor-registration-licensing/index.asp;status=Contractor Registration / Licensing;");
aI("text=Forms & Permits;url=/community-development/code-compliance/forms-permits/index.asp;status=Forms & Permits;");
aI("text=Frequently Asked Questions;url=/community-development/code-compliance/faq/index.asp;status=Frequently Asked Questions;");
aI("text=Request for Inspection;url=/community-development/code-compliance/request-for-inspection/index.asp;status=Request for Inspection;");
}
<!--- START E-SUB - Master Plan Elements SUBNAV --->
<!---with(milonic=new menuname("master-plan-elements")){
<!---overflow="scroll";
<!---style=submenuStyle;
<!---aI("text=Maps;url=/community-development/master-plan-elements/maps.asp;status=Services;");
<!---}

<!--- START E-SUB - Regulations SUBNAV --->
<!---with(milonic=new menuname("regulations")){
<!---overflow="scroll";
<!---style=submenuStyle;
<!---aI("text=Inspectors;url=/community-development/regulations/inspectors.asp;status=Inspectors;");
<!---}

<!--- START E-SUB - Permits SUBNAV --->
<!---with(milonic=new menuname("permits")){
<!---overflow="scroll";
<!---style=submenuStyle;
<!---aI("text=Monthly Permit Valuations;url=/community-development/permits/monthly-permit-valuations.asp;status=Monthly Permit Valuations;");
<!---}

<!--- ======================================================
<!--- START G -- GOVERNMENT NAV --->
<!--- ======================================================

with(milonic=new menuname("government")){
<!-- overflow="scroll"; -->
style=submenuStyle;
aI("text=Overview;url=/government/;status=Overview;");
aI("text=Calendar;url=/government/calendar/index.asp;status=Calendar;");
aI("text=Frequently Used Forms;url=/government/frequently-used-forms/index.asp;status=Frequently Used Forms;");
aI("text=Elected Officials;url=/government/elected-officials/index.asp;status=Elected Officials;");
aI("text=Council Agenda &amp; Minutes;url=/government/meetings-schedule/index.asp;showmenu=meetings;status=Council Agenda &amp; Minutes;");
aI("text=Departments;url=/government/departments/index.asp;showmenu=departments;status=Departments;");
aI("text=City Code;url=/government/code-of-ordinance/index.asp;status=City Code;");
aI("text=Contractor Registration / Licensing;url=/government/registration-licensing/index.asp;status=Contractor Registration / Licensing;");
aI("text=Employment;url=/government/employment/index.asp;status=Employment;");
}

<!--- START G-SUB - Government SUBNAV --->
with(milonic=new menuname("departments")){
<!-- overflow="scroll"; -->
style=submenuStyle;
aI("text=Boards;url=/government/departments/boards/index.asp;status=Boards;");
aI("text=Commissions;url=/government/departments/commissions/index.asp;status=Commissions;");
aI("text=Building Department;url=/government/departments/building/index.asp;status=Building Department;");
aI("text=City Administrator/City Clerk;url=/government/departments/city-administrator/index.asp;status=City Administrator/City Clerk;");
aI("text=Fire Department;url=/government/departments/fire/index.asp;status=Fire Department;");
aI("text=Library;url=/government/departments/library/index.asp;status=Library;");
aI("text=Parks Department;url=/government/departments/parks-facilities/index.asp;status=Parks Department;");
aI("text=Police Department;url=/government/departments/police/index.asp;status=Police Department;");
aI("text=Public Works;url=/government/departments/public-works/index.asp;status=Public Works;");
aI("text=Sanitation Department;url=/government/departments/sanitation/index.asp;status=Sanitation Department;");
aI("text=Street Department;url=/government/departments/streets/index.asp;status=Street Department;");
aI("text=Water Department;url=/government/departments/water/index.asp;status=Water Department;");
}

<!--- START G-SUB - Government SUBNAV --->
with(milonic=new menuname("meetings")){
<!-- overflow="scroll"; -->
style=submenuStyle;
aI("text=Agendas;url=/government/meetings-schedule/agendas/index.asp;status=Agendas;");
aI("text=Minutes;url=/government/meetings-schedule/minutes/index.asp;status=Minutes;");
}

<!--- START G-SUB - Employment SUBNAV --->
<!---with(milonic=new menuname("employment")){
<!---overflow="scroll";
<!---style=submenuStyle;
<!---aI("text=Job Openings;url=/government/job-openings/job-openings.asp;status=Job Openings;");
<!---}

<!--- ======================================================
<!--- START H -- MEDIA NAV --->
<!--- ======================================================

with(milonic=new menuname("media")){
<!-- overflow="scroll"; -->
style=submenuStyle;
aI("text=Overview;url=/media/;status=Overview;");
aI("text=News Releases;url=/media/news-releases/index.asp;status=News Releases;");
aI("text=Contacts;url=/media/contacts/index.asp;status=Contacts;");
aI("text=Archives;url=/media/archives/index.asp;status=Archives;");
}

drawMenus();