﻿// Last change July 14 2003
// Developed by ddmenu@inbox.ru


// constants

// x-coordinate of top left corner of dropdown menu 
var initX             = 100; 

// y-coordinate of top left corner of dropdown menu 
var initY             = 25; 

// the background color of dropdown menu (set empty '' for transparent)
var backColor         = '#00008b'; 

// the background color of selected menu items, set empty '' for transparent
var activeBackColor   = '#B0C4DE'; 

// the color of dropdown menu border
var borderColor = 'white'; 

// the width of menu border
var borderSize  = '1'; 

// height of menu items
var itemHeight  = 12;

// overlapping between 
var xOverlap    = 5;
var yOverlap    = 10;

// end of constants


menuContent     = new Array ();

menuContent [0] = new Array ( 
-1, 
-1, 
128, // the width of current menu list 
-1, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
-1, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
'Council/Mayor', 'http://www.cityofesmo.com/council.html',
'City Manager', 'http://www.cityofesmo.com/citymanager.html',
'Commissions', 'http://www.cityofesmo.com/commissions.html',
'Agendas/Minutes', 'http://www.cityofesmo.com/agendas.html',
'Master Plan', 'http://www.rdgusa.com/crp/excelsior/ target="_blank',
'Prospectus', 'http://www.cityofesmo.com/Prospectus8x11.pdf target="_blank'
));

menuContent [1] = new Array ( 
-1, 
-1,
150, // the width of current menu list 
-1, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
-1, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
'Airport', 'http://www.cityofesmo.com/airport.html',
'Animal Shelter', 'http://www.cityofesmo.com/animalshelter.html',
'Code Enforcement', 'http://www.cityofesmo.com/codes.html',
'Economic Development', 'http://www.cityofesmo.com/economicdev.html',
'Finance', 'http://www.cityofesmo.com/finance.html',
'Fire Department', 'http://www.cityofesmo.com/firedepartment.html',
'Golf Course', 'http://www.excelsiorgolf.com target="_blank',
'Historic Commission', 'http://www.eshpc.org target="_blank',
'Human Resources', 'http://www.cityofesmo.com/humanresources.html',
'Inspections', 'http://www.cityofesmo.com/codes.html',
'Parks & Rec', 'http://www.cityofesmo.com/parksandrec.html',
'Planning/Zoning', 'http://www.cityofesmo.com/planning.html',
'Police Department', 'http://www.espolice.com target="_blank',
'Public Works', 'http://www.cityofesmo.com/publicworks.html',
'Senior Center', 'http://www.cityofesmo.com/seniorcenter.html',
'Transportation', 'http://www.cityofesmo.com/transportation.html',
'Water Department', 'http://www.cityofesmo.com/water.html'
));

menuContent [2] = new Array ( 
-1, 
-1,
130, // the width of current menu list 
-1, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
-1, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
'History', 'http://www.cityofesmo.com/history.html',
'Parks', 'http://www.cityofesmo.com/parks.html',
'Golf Course', 'http://www.excelsiorgolf.com target="_blank',
'Airport', 'http://www.cityofesmo.com/airport.html',
'Hospital', 'http://www.eshospital.org target="_blank',
'Recycling Center', 'http://www.cityofesmo.com/recycling.html',
'Senior Center', 'http://www.cityofesmo.com/seniorcenter.html',
'Animal Shelter', 'http://www.cityofesmo.com/animalshelter.html',
'School District', 'http://tigernet.estigers.k12.mo.us/Pages/default.aspx target="_blank',
'Museum', 'http://www.exsmo.com/museum/index.html target="_blank',
'License Bureau', 'http://dor.mo.gov/mvdl/offloc/cgi-bin/offloc.cgi?search2=office&ContractOffice=EXCELSIOR+SPRINGS&Submit=Submit target="_blank',
'Library', 'http://www.mcpl.lib.mo.us/branch/es/ target="_blank'
));

menuContent [3] = new Array ( 
-1, 
-1,
282, // the width of current menu list 
-1, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
-1, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
'Business Development', 'http://www.cityofesmo.com/economicdev.html',
'Industrial Parks', 'http://www.cityofesmo.com/industrialparks.html',
'Planning/Zoning', 'http://www.cityofesmo.com/planning.html',
'Master Plan', 'http://www.rdgusa.com/crp/excelsior/ target="_blank',
'Prospectus', 'http://www.cityofesmo.com/Prospectus8x11.pdf target="_blank'
));

menuContent [4] = new Array ( 
-1, 
-1,
70, // the width of current menu list 
-1, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
-1, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
'Ambulance Membership', 'http://www.cityofesmo.com/FDlibrary/MEMBERSH.PDF target="_blank',
'Building Codes', 'http://www.cityofesmo.com/pdflibrary/buildingcodes.pdf target="_blank',
'Building Permit', 'http://www.cityofesmo.com/pdflibrary/buildingpermit.pdf target="_blank',
'Development Guide', 'http://www.cityofesmo.com/pdflibrary/DevelopmentGuide608.pdf target="_blank',
'Employment Application', 'http://www.cityofesmo.com/pdflibrary/employmentapplication.pdf target="_blank',
'Grading Permit', 'http://www.cityofesmo.com/pdflibrary/gradingpermit.pdf target="_blank',
'Liquor License', 'http://www.cityofesmo.com/pdflibrary/liquorlicense.pdf target="_blank',
'Occupational Licenses', 'http://www.cityofesmo.com/pdflibrary/occupationallicense.pdf target="_blank',
'Additional Forms', 'http://www.cityofesmo.com/resources.html'
));

menuContent [5] = new Array ( 
-1, 
-1,
70, // the width of current menu list 
-1, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
-1, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
''
));

menuContent [6] = new Array ( 
-1, 
-1,
70, // the width of current menu list 
-1, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
-1, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
''
));


