// 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 (TransMenu.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 TransMenuSet(TransMenu.direction.down, 1, 0, TransMenu.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("nav_home"));
		menu1.addItem("Message from the Mayor", ""); 
		menu1.addItem("Mayor and Town Council", ""); 
		menu1.addItem("Town Manager", ""); 
		menu1.addItem("Treasurer", ""); 
		menu1.addItem("Meetings & Agendas", ""); 
		menu1.addItem("Engineering & Public Works", ""); 
		menu1.addItem("Office of Zoning & Planning", ""); // send no URL if nothing should happen onclick

		var submenu0 = menu1.addMenu(menu1.items[6]);
		submenu0.addItem("Planning Commision", "http://youngpup.net/italy/photos/cinqueterre/104_0458.jpg");
		submenu0.addItem("Board of Zoning Appeals", "http://youngpup.net/italy/photos/cinqueterre/thumb/104_0474.jpg");
		submenu0.addItem("Forms", "http://youngpup.net/italy/photos/cinqueterre/104_0472.jpg");
		submenu0.addItem("Ordinances", "http://youngpup.net/italy/photos/cinqueterre/105_0522.jpg");
	*/
    //var submenu00 = submenu0.addMenu(submenu0.items[0]);
    //submenu00.addItem("foo");
    //submenu00.addItem("bar");
		//==================================================================================================

		//==================================================================================================
		var menu0 = ms.addMenu(document.getElementById("nav_designs"));
		menu0.addItem("HZ A", "hza.php"); 
		menu0.addItem("HZ B", "hzb.php"); 
		menu0.addItem("HZ C", "hzc.php"); 
		menu0.addItem("HZ E", "hzd.php"); 


		/* var menu1 = ms.addMenu(document.getElementById("nav_specials"));
		menu1.addItem("New", "new_specials.php"); 
		menu1.addItem("GM Certified", "gm_specials.php"); 
		menu1.addItem("Used", "used_specials.php");
		
		var menu2 = ms.addMenu(document.getElementById("nav_customer"));
		menu2.addItem("Calculator", "calculator.php"); 
		menu2.addItem("Value Your Trade", "trade_estimate.php"); 
		menu2.addItem("Contact", "contact.php"); 
		
		var menu3 = ms.addMenu(document.getElementById("nav_financing"));
		menu3.addItem("Apply Now", "apply.php"); 
		menu3.addItem("Trouble Credit", "trouble_credit.php"); 
		menu3.addItem("Contact", "contact.php"); 
		
		var menu4 = ms.addMenu(document.getElementById("nav_info"));
		menu4.addItem("Our Team", "our_team.php"); 
		menu4.addItem("Employment Opportunities", "employment.php"); 
		menu4.addItem("Message", "message.php"); 
		menu4.addItem("Contact Us", "contact.php"); 
		menu4.addItem("Disclaimer", "disclaimer.php"); */
		
		//==================================================================================================
		// 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.
		//==================================================================================================
		TransMenu.renderAll();
	}
