	// set up drop downs anywhere in the body of the page. I think the bottom of the page is better.. 
	// but you can experiment with effect on loadtime.
	if (mtDropDown.isSupported()) {

		//==================================================================================================
		// create a set of dropdowns
		//==================================================================================================
		// the first param should always be down, as it is here
		//
		// The second and third param are the top and left offset positions of the menus from their actuators
		// respectively. To make a menu appear a little to the left and bottom of an actuator, you could use
		// something like -5, 5
		//
		// The last parameter can be .topLeft, .bottomLeft, .topRight, or .bottomRight to inidicate the corner
		// of the actuator from which to measure the offset positions above. Here we are saying we want the 
		// menu to appear directly below the bottom left corner of the actuator
		//==================================================================================================
		var ms = new mtDropDownSet(mtDropDown.direction.down, 0, 0, mtDropDown.reference.bottomLeft);

		//==================================================================================================
		// create a dropdown menu
		//==================================================================================================
		// the first parameter should be the HTML element which will act actuator for the menu
		//==================================================================================================
		var menu1 = ms.addMenu(document.getElementById("menu1"));
		menu1.addItem(": Company Profile", "#"); // send no URL if nothing should happen onclick
		
menu1.addItem(": Contact Information", "#");
		//==================================================================================================

		//==================================================================================================
		// add a sub-menu
		//==================================================================================================
		// to add a sub menu to an existing menu object, call it's addMenu method and pass it the item from
		// the parent menu which should act as it's actuator. To add a submenu to the fourth item of a menu
		// called "theMenu", you would do theMenu.addMenu(theMenu.items[3])
		//==================================================================================================
				

// menu : Council
		var menu1 = ms.addMenu(document.getElementById("menu1"));
		menu1.addItem(" Council Members", "councilmembers.asp");
		
menu1.addItem(" Council Meeting Minutes", "councilminutes.asp");
		



// menu : Departments
		var menu2 = ms.addMenu(document.getElementById("menu2"));
		menu2.addItem(" Finance", "finance.asp");
		
menu2.addItem(" Economic and Community Development", "ecdevdeptoverview.asp");
		
menu2.addItem(" City Manager", "citymanager.asp");

menu2.addItem(" Public Safety", "publicsafety.asp");

menu2.addItem(" Operations", "operations.asp");

//menu2.addItem(" Staff Overview", "staffoverview.asp");



// submenu
		var subMenu1 = menu2.addMenu(menu2.items[0]);
		
subMenu1.addItem(" Licenses/Permits", "permits.asp");

	
subMenu1.addItem(" Taxes", "taxes.asp");

	
subMenu1.addItem(" Parking", "parking.asp");


subMenu1.addItem(" Utility Rates", "utility.asp");



// submenu
		var subMenu1 = menu2.addMenu(menu2.items[1]);
		
subMenu1.addItem(" Department Overview", "ecdevdeptoverview.asp");

	
subMenu1.addItem(" Business Information", "ecdevbusinessinfo.asp");

	
subMenu1.addItem(" Tourism/Marketing", "ecdevtourismmarketing.asp");

	
subMenu1.addItem(" Recreation Facilities", "ecdevrecfacilities.asp");

	
subMenu1.addItem(" Recreation Programs", "ecdevrecprog.asp");

	
subMenu1.addItem(" Grants", "ecdevgrants.asp");

	
subMenu1.addItem(" Special Events", "ecdevspecialevents.asp");

	
subMenu1.addItem(" Heritage", "ecdevheritage.asp");



// submenu
		var subMenu1 = menu2.addMenu(menu2.items[3]);
		
subMenu1.addItem(" Fire Services", "fire.asp");

	
subMenu1.addItem(" Police Services", "police.asp");

	

// submenu
		var subMenu1 = menu2.addMenu(menu2.items[4]);
		
subMenu1.addItem(" Public Works", "publicworks.asp");

	
subMenu1.addItem(" Engineering", "engineering.asp");

	
subMenu1.addItem(" Parks/Cemeteries", "parkscemetery.asp");


subMenu1.addItem(" Waste Water", "wastewater.asp");


subMenu1.addItem(" Water Treatment", "watertreatment.asp");





// menu Virtual City Hall
		var menu3 = ms.addMenu(document.getElementById("menu3"));
	
menu3.addItem(" Sign-Up", "vchsignup.asp");

menu3.addItem(" My City", "https://atlas.city-plap.com/VCH/subsections/mycity/mycity.html");

menu3.addItem(" Property Search", "http://atlas.city-plap.com:81/vch/subsections/propsearch/propsearch.html");

menu3.addItem(" Business Directory Search", "http://atlas.city-plap.com:81/vch/subsections/directory/directory.html");

menu3.addItem(" Pet Owner Search", "http://atlas.city-plap.com:81/vch/subsections/dogfind/dogfind.html");



// menu : Job Opportunities
		var menu4 = ms.addMenu(document.getElementById("menu4"));
	menu4.addItem(" Current Job Postings", "jobpostings.asp");

menu4.addItem(" Tenders", "tenders.asp");
		
	


			
		

// menu : Press Releases
		var menu5 = ms.addMenu(document.getElementById("menu5"));

menu5.addItem(" View the Press Releases", "press.asp");
	


// menu : Visitor Info
		var menu6 = ms.addMenu(document.getElementById("menu6"));
		menu6.addItem(" Map", "../Map/map.htm");
		
menu6.addItem(" Explore Community", "../community/default.asp");
	


	//==================================================================================================
		// write drop downs into page
		//==================================================================================================
		// this method writes all the HTML for the menus into the page with document.write(). It must be
		// called within the body of the HTML page.
		//==================================================================================================
		mtDropDown.renderAll();
	}
