// 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("accommodation"));			

		menu1.addItem("Airport Accommodation","/airport_accommodation/");
		
		menu1.addItem("Rooms","/airport_accommodation/motel_rooms.php");

		menu1.addItem("Spa Rooms","/airport_accommodation/spa_rooms.php");
		
		menu1.addItem("Free Courtesy Bus","/airport_accommodation/free_courtesy_bus.php");
		
		menu1.addItem("Long & Short Term Car Park","/airport_accommodation/long_and_short_term_car_park.php");

		menu1.addItem("Special Packages", "/airport_accommodation/special_package.php");

		menu1.addItem("Free Internet Access", "/airport_accommodation/free_internet.php");

		menu1.addItem("Accommodation Enquiry", "/contact_us/");

		

	var menu2 = ms.addMenu(document.getElementById("functions"));	

		menu2.addItem("Airport Function Centre", "/functions/");

		menu2.addItem("Function Packages", "/functions/function_package.php");

		menu2.addItem("Function Menus","/functions/function_menus.php");

		menu2.addItem("Cocktail Parties", "/functions/cocktail_parties.php");			

		menu2.addItem("Function Enquiry", "/contact_us/convention_enquiry.php");	

		

	var menu3 = ms.addMenu(document.getElementById("conference"));	

	 	menu3.addItem("Airport Conference Centre", "/melbourne_conferences/");

	 	menu3.addItem("Conference Rooms", "/melbourne_conferences/conference_room.php");

		menu3.addItem("Board Rooms", "/melbourne_conferences/board_rooms.php");
		
		menu3.addItem("Courtesy Bus", "/melbourne_conferences/courtesy_bus.php");

		menu3.addItem("Conference Equipment", "/melbourne_conferences/conference_equipment.php");
		
		menu3.addItem("Conference Package", "/melbourne_conferences/conference_package.php");				

	  menu3.addItem("Free Internet Access", "/melbourne_conferences/free_internet.php");

		menu3.addItem("Conference Enquiry", "/contact_us/convention_enquiry.php");

		

	var menu4 = ms.addMenu(document.getElementById("weddings"));

		menu4.addItem("Melbourne North Wedding Venue", "/melbourne_north_wedding/");

		menu4.addItem("Wedding Package", "/melbourne_north_wedding/wedding_package.php");

		menu4.addItem("Wedding Menu", "/melbourne_north_wedding/wedding_menu.php");

		menu4.addItem("Wedding Special", "/melbourne_north_wedding/wedding_special.php");
		
		menu4.addItem("Wedding Enquiry", "/contact_us/convention_enquiry.php");
		

	var menu5 = ms.addMenu(document.getElementById("restaurant"));

		menu5.addItem("Reflection Bar & Restaurant", "/tullamarine_restaurant/");

		menu5.addItem("Dinner Menu", "/tullamarine_restaurant/dinner_menu.php");

		menu5.addItem("Special Events", "/tullamarine_restaurant/special_events.php");

	

	var menu6 = ms.addMenu(document.getElementById("attractions"));
		
		menu6.addItem("Convenient Location", "/airport_location/");

		menu6.addItem("Local Attractions", "/airport_location/local_attraction.php");	

		menu6.addItem("What's On", "/airport_location/what_on.php");
		
	var menu7 = ms.addMenu(document.getElementById("enquiry"));

		menu7.addItem("Accommodation Enquiry", "/contact_us/");	
		
		menu7.addItem("Event Enquiry", "/contact_us/convention_enquiry.php");	

		menu7.addItem("Contact Information", "/contact_us/ContactUs.php");

		menu7.addItem("How to get here", "/contact_us/how_to_get_here.php");

		menu7.addItem("Airport Shuttle Bus", "/contact_us/airport_shuttle.php");
		
		menu7.addItem("Business Supporter", "/contact_us/business.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();

}
