BLANK_IMAGE = '/includes/images/b.gif';

var NOSTYLE = {
	border:0,
	shadow:0,
	color:{
		border:"",
		shadow:"",
		bgON:"",
		bgOVER:""
	},
	css:{
		ON:"",
		OVER:""
	}
};

var STYLE = {
	border:1,			// item's border width, pixels; zero means "none"
	shadow:0,			// item's shadow size, pixels; zero means "none"
	color:{
		border:"#666666",	// color of the item border, if any
		shadow:"#DBD8D1",	// color of the item shadow, if any
		bgON:"white",		// background color for the items
		bgOVER:"gold"	// background color for the item which is under mouse right now
	},
	css:{
		ON:"clsCMOn",		// CSS class for items
		OVER:"clsCMOver"	// CSS class  for item which is under mouse
	}
};

var MENU_ITEMS = [
	{pos:[-64,40], itemoff:[0,99], leveloff:[0,0], style:NOSTYLE, size:[22,160]},
	{code:"",
		sub:[]
	},
	{code:"", format:{itemoff:[0,54]},
		sub:[]
	},
	{code:"", format:{itemoff:[0,77]},
		sub:[]
	},
	// Home Menu
	{code:'', url:'/index.php', format:{itemoff:[0,-25]},
		sub:[
			{itemoff:[21,0], leveloff:[21,0], style:STYLE},
			{code:'City Home', url:'/'},
			{code:'Airport', url:'/airport/'},
			{code:'Police Department', url:'/police/'},
			{code:'Fire Department', url:'/fire/'},
			{code:'Development Services', url:'/ds/'},
			{code:'Traffic & Transportation', url:'/traffic/'},
			{code:'Golf', url:'/golf/'},
			{code:'St. George Marathon', url:'http://www.stgeorgemarathon.com', target:'_blank'},
			{code:'Arts & Leisure', url:'/leisure/'},
			{code:'Recreation', url:'/recreation/'},
			{code:'Parks & Trails', url:'/parks/'}
		]
	},
	// About St. George Menu
	{code:"", format:{itemoff:[0,44]},
		sub:[
			{itemoff:[21,0], leveloff:[21,0], style:STYLE},
			{code:'Why is it called St. George?', url:'/aboutstgeorge/name.php'},
			{code:'Cost of Living Index', url:'http://www.stgeorgechamber.com/EcDev/demographics.ACCRA.htm', target:'_blank'},
			{code:'Demographic Overview', url:'http://www.stgeorgechamber.com/EcDev/demographic.overview.htm', target:'_blank'},
			{code:'Demographic Breakdown', url:'http://www.stgeorgechamber.com/EcDev/demographic.breakdown.htm', target:'_blank'},
			{code:'Education', url:'/aboutstgeorge/education.php'},
			{code:'Employment', url:'/aboutstgeorge/employment.php'},
			{code:'History', url:'/aboutstgeorge/history.php'},
			{code:'Largest Employers', url:'http://www.stgeorgechamber.com/EcDev/largest.%20employers.htm', target:'_blank'},
			{code:'Things to do, Places to go', url:'/aboutstgeorge/activities.php'},
			{code:'Local Services', url:'/aboutstgeorge/localservices.php'},
			{code:'Major Manufacturers', url:'http://www.stgeorgechamber.com/EcDev/largest.%20manufactures.htm', target:'_blank'},
			{code:'Population', url:'http://www.stgeorgechamber.com/EcDev/demographics.population.htm', target:'_blank'},
			{code:'Relocation Guide', url:'http://www.stgeorgechamber.com/relocationPacket.html', target:'_blank'},
			{code:'St. George Temple', url:'http://www.lds.org/placestovisit/location/0,10634,1801-1-1-1,00.html', target:'_blank'},
			{code:'Tourism', url:'/aboutstgeorge/tourism.php'},
			{code:'Utah Facts', url:'/aboutstgeorge/utahfacts.php'},
			{code:'Weather & Webcams', url:'/aboutstgeorge/weather.php'}
		]	
	},
	// City Departments Menu
	{code:"", format:{itemoff:[0,108]},
		sub:[
			{itemoff:[21,0], leveloff:[21,0], style:STYLE},
			{code:"Administration",
				sub:[
					{leveloff:[10,149]},
					{code:"Budget & Purchasing",
						sub:[
							{leveloff:[10,149]},
							{code:'Budget Information', url:'/budget/'},
							{code:'Purchasing', url:'/purchasing/'}
						]
					 },
					{code:"City Manager", url:'/citycouncil/sggesplin.php',
						sub:[
							{leveloff:[10,149]},
							{code:"City Recorder", url:'mailto:gay.cragun@sgcity.org'}
						]
					 },
					 {code:"Support Services",
				sub:[
					{leveloff:[10,149]},
					{code:"Fleet Management", url:'/publicworks/fleetdivision.php'},
					{code:"GIS - Geographic Information", url:'/gis/'},
					{code:"Technical Services Division", url:'/it/'}
				]
			},
					
				]
			},
			{code:"Community Development", url:'/commdev/',
				sub:[
					{leveloff:[10,149]},
					{code:"Planning & Zoning", url:'/commdev/'},
					{code:"Planning Commission", url:'/commdev/planningcommission.php'},
					{code:"Forms, Applications & Permits", url:'/commdev/forms.php'},
					{code:"General Plan", url:'/commdev/generalplan.php'},
					{code:"Plat Projects", url:'/commdev/platprojects.php'},
					{code:"Download Maps & Plans", url:'/gis/'},
					{code:"Code Enforcement", url:'/commdev/codeenforcement.php'}
					
				]
			},
			{code:"Development Services", url:'/ds/',
				sub:[
					{leveloff:[10,149]},
					{code:"Building & Safety Division", url:'/ds/'},
					{code:"New Development Division", url:'/ds/'},
					{code:"Golf Division", url:'/golf/'}
				]
			},
			{code:"Energy Services", url:'/energyservices/',
				sub:[
					{leveloff:[10,149]},
					{code:"News & Press Releases", url:'/energyservices/'},
					{code:"Net Metering Information", url:'/energyservices/'},
					{code:"Distribution Standards", url:'/energyservices/'},
					{code:"Pre-Qualified Contractor Info", url:'/energyservices/'},
					{code:"Energy Conservation", url:'/conservation/'}
				]
			},
			{code:"Finance", url:'/finance/',
				sub:[
					{leveloff:[10,149]},
					{code:"Finance Department Overview", url:'/finance/'},
					{code:"City Treasurer", url:'/finance/'},
					{code:"Accounts Payable", url:'/finance/'},
					{code:"Annual Financial Reports", url:'/finance/'},
					{code:"Business Licenses", url:'/businesslicense/'},
					{code:"Utility Information", url:'/utilities/'}
				]
			},
			{code:"Fire Department", url:'/fire/'},
			{code:"Human Resources", url:'/hr/'},
			{code:"Legal Services", url:'/legal/',
				sub:[
					{leveloff:[10,149]},
					{code:"Code Enforcement", url:'/commdev/codeenforcement.php'}
				]
			},
			{code:"Leisure Services", url:'/leisure/',
				sub:[
					{leveloff:[10,149]},
					{code:"Arts", url:'/arts/'},
					{code:"Cemetery", url:'/parks/cemetery/'},
					{code:"Dixie Center", url:'http://www.dixiecenter.com', target:'_blank'},
					{code:"Recreation", url:'/recreation/'},
					{code:"Parks", url:'/parks/'},
					{code:"Parks Planning", url:'/parks/planning/'},
					{code:"Trails", url:'/parks/trails/'}
				]
			},
			{code:"Police Department", url:'/police/'},
			{code:"Public Works", url:'/publicworks/',
				sub:[
					{leveloff:[10,149]},
					{code:"Airport", url:'/airport/'},
					{code:"Engineering", url:'/publicworks/engineering.php'},
					
					{code:"Streets", url:'/publicworks/'},
					{code:"SunTran", url:'/suntran/'}
				]
			},
			
			{code:"Water Services" , url:'/waterservices/',
				sub:[
					{leveloff:[10,149]},
					
					{code:"Irrigation", url:'/waterservices/'},
					{code:"Wastewater Collection", url:'/waterservices/'},
					{code:"Wastewater Treatment", url:'/waterservices/'},
					{code:"Water Quality", url:'/waterservices/'},
					{code:"Water Treatment", url:'/waterservices/'},
					{code:"Water Conservation", url:'/conservation/'},
				]
			}
		]
	},
	// City Council Menu
	{code:"", url:'/citycouncil/', format:{itemoff:[0,110]},
		sub:[
			{itemoff:[21,0], leveloff:[21,0], style:STYLE},
			{code:"Agenda & Minutes", url:'/citycouncil/'},
			{code:"Meeting Schedule", url:'/citycouncil/'},
			{code:"Mayor Daniel McArthur", url:'/citycouncil/mayor.php'},
			{code:"City Council Members", url:'/citycouncil/',
				sub:[
					{leveloff:[10,149]},
					
					{code:"Gil Almquist", url:'/citycouncil/almquist.php'},
					{code:"Gail Bunker", url:'/citycouncil/gbunker.php'},
					{code:"Benjamin Nickle", url:'/citycouncil/nickle.php'},
					{code:"Jon Pike", url:'/citycouncil/pike.php'},
					{code:"Jimmie Hughes", url:'/citycouncil/hughes.php'}
					
					
				]
			},
			{code:"City Manager", url:'/citycouncil/gesplin.php'},
			{code:"Youth City Council", url:'/ycc/'}
		]
	},
	
	// Services and Resources Menu
	{code:"", format:{itemoff:[0,290]},
		sub:[
			{itemoff:[21,0], leveloff:[21,0], style:STYLE},
			{code:"Animal Shelter", url:'/police/sganimalcontrol.php'},
			{code:"Book Tee Times Online", url:'http://www.golfgopher.com/'},
			{code:"Cemetery Information", url:'/parks/cemeteryhome.php'},
			{code:"City Job Opportunities", url:'/hr/'},
			{code:"Conservation Guide", url:'/wp/conservation/'},
			{code:"Download Files", url:'/resources/downloads.php'},
			{code:"Emergency Preparedness", url:'/emergency/'},
			{code:"Floodplain Information", url:'/publicworks/flood.php'},
			{code:"Forestry Service Request", url:'/parks/cityparks/forestry_request.php'},
			{code:"Online Traffic School", url:'/trafficschool/'},
			{code:"Ordinances", url:'http://www.sterlingcodifiers.com/St%20George,UT', target:'_blank'},
			{code:"Parks and Trails Info.", url:'/parks/'},
			{code:"St. George Airport", url:'/airport/'},
			{code:"St. George City Code", url:'http://www.sterlingcodifiers.com/St%20George,UT', target:'_blank'},
			{code:"SunTran - Public Transit", url:'/suntran/'},
			{code:"Utility Information", url:'/utilities/'},
			{code:"Website Survey", url:'/surveys/website.php'},
			{code:"Zoning Regulations", url:'http://www.sterlingcodifiers.com/St%20George,UT', target:'_blank'}
			
			
		]
	},
	// Employment Info Menu
	{code:"", url:'/hr/' , format:{itemoff:[0,128]},
		sub:[
			{itemoff:[21,0], leveloff:[21,0], style:STYLE},
			{code:"City Employment Opportunities", url:'/hr/'},
			{code:"Download Application PDF", url:'/pdf/empapp.pdf', target:'_blank'},
			{code:"Human Resources Department", url:'/hr/'}
			
		]
	},
	// Useful Links Menu
	{code:"", format:{itemoff:[0,120]},
		sub:[
			{itemoff:[21,0], leveloff:[21,0], style:STYLE},
			{code:"Alive! Utah South Area", url:'http://aliveutah.com/', target:'_blank'},
			{code:"Chamber of Commerce", url:'http://www.stgeorgechamber.com/', target:'_blank'},
			{code:"Convention & Tourism Info", url:'http://www.utahstgeorge.com/', target:'_blank'},
			{code:"Dixie Business Alliance", url:'http://www.dixiebusinessalliance.com/', target:'_blank'},
			{code:"Dixie Center", url:'http://www.dixiecenter.com/', target:'_blank'},
			{code:"Dixie Regional Hospital", url:'http://intermountainhealthcare.org/hospitals/dixie/Pages/home.aspx', target:'_blank'},
			{code:"Dixie State College", url:'http://www.dixie.edu/', target:'_blank'},
			
			{code:"Huntsman Senior Games", url:'http://www.seniorgames.net/', target:'_blank'},
			{code:"KCSG.com - Local News", url:'http://www.kcsg.com/', target:'_blank'},
			{code:"Mosquito Abatement Info", url:'http://www.southwestmosquito.com/', target:'_blank'},
			{code:"National Parks Service", url:'http://www.nps.gov/', target:'_blank'},
			
			{code:"Red Cliffs Desert Reserve", url:'http://www.redcliffsdesertreserve.com/contact', target:'_blank'},
			{code:"St. George Parade of Homes", url:'http://www.paradehomes.com/', target:'_blank'},
			{code:"State of Utah", url:'http://www.utah.gov/', target:'_blank'},
			{code:"Southernutah.com", url:'http://www.southernutah.com/', target:'_blank'},
			{code:"So. Utah Home Builders Assoc.", url:'http://www.suhba.com/', target:'_blank'},
			{code:"Southern Utah Recycling", url:'http://southernutahrecycles.org/', target:'_blank'},
			{code:"StGeorge.us", url:'http://www.stgeorge.us/', target:'_blank'},
			{code:"St. George Marathon", url:'http://www.stgeorgemarathon.com/', target:'_blank'},
			{code:"Suntran Public Transit", url:'/suntran/'},
			
			{code:"The Spectrum Newspaper", url:'http://www.thespectrum.com/', target:'_blank'},
			{code:"St. George News", url:'http://www.stgnews.com/', target:'_blank'},
			{code:"Tuacahn Center for the Arts", url:'http://www.tuacahn.org/', target:'_blank'},
			{code:"Utah's Dixie", url:'http://www.utahstgeorge.com/', target:'_blank'},
			
			{code:"Vision Dixie", url:'http://www.visiondixie.org/', target:'_blank'},
			{code:"Washington County", url:'http://www.washco.state.ut.us/', target:'_blank'},
			{code:"Wash. County School District", url:'http://www.washk12.org/', target:'_blank'},
			
			{code:"Wash. County Board of Realtors ", url:'http://www.wcbr.org', target:'_blank'},
			{code:"Wash. County Historical Society", url:'http://wchsutah.org/', target:'_blank'},
			{code:"Wash. County Justice Court", url:'http://washco.utah.gov/justicecourt', target:'_blank'},
			{code:"Wash. County Solid Waste", url:'http://www.wcsw.org/', target:'_blank'},
			
			
			
			{code:"Zion National Park", url:'http://www.zionnationalpark.com/', target:'_blank'}
			
		]
	}
];

