// 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
		//==================================================================================================
		//check for IE and adjust values accordingly
		if(TransMenu.ieCheck()) {
			var ms = new TransMenuSet(TransMenu.direction.down, 12, 18, TransMenu.reference.bottomLeft);
		} else {
			var ms = new TransMenuSet(TransMenu.direction.down, 0, 4, TransMenu.reference.bottomLeft);
		}
		
		//==================================================================================================
		// create a dropdown menu
		//==================================================================================================
		// the first parameter should be the HTML element which will act actuator for the menu
		//==================================================================================================
		var about_menu = ms.addMenu(document.getElementById("ABOUT"));
		about_menu.addItem("ABOUT US", "about.html");
		about_menu.addItem("SALON &amp; SPA ETIQUETTE", "about.html#etiquette");
		about_menu.addItem("MEET THE TEAM", "team.html"); // send no URL if nothing should happen onclick
		about_menu.addItem("TAKE THE VIRTUAL TOUR", "tour.html");
		about_menu.addItem("GO GREEN", "green.html");
		
		var menu_menu = ms.addMenu(document.getElementById("MENU"));
		menu_menu.addItem("HAIR", "hair.html");
		menu_menu.addItem("MAKEUP", "hair.html#makeup");
		menu_menu.addItem("LUXE SPA", "spa.html");
		menu_menu.addItem("NAIL CARE", "manicure.html");
		
		var menu_menu_spa = menu_menu.addMenu(menu_menu.items[2]);
		menu_menu_spa.addItem("MASSAGE", "spa.html");
		menu_menu_spa.addItem("SKIN CARE SERVICES", "spa.html#skincare");
		menu_menu_spa.addItem("SPRAY TANNING", "spa.html#tan");
		menu_menu_spa.addItem("NATURAL HAIR REMOVAL", "spa.html#wax");
		menu_menu_spa.addItem("OTHER SERVICES", "spa.html#other");
		
		var menu_menu_nails = menu_menu.addMenu(menu_menu.items[3]);
		menu_menu_nails.addItem("MANICURE", "manicure.html");
		menu_menu_nails.addItem("PEDICURE", "manicure.html#pedicure");
		
		//==================================================================================================
		// 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();

		// hook all the highlight swapping of the main toolbar to menu activation/deactivation
		// instead of simple rollover to get the effect where the button stays hightlit until
		// the menu is closed.
		about_menu.onactivate = function() { MM_swapImage('ABOUT','','about_over.jpg',1); };
		if(resabout){
			about_menu.ondeactivate = function() { imgrestore('ABOUT','aboutluxe.jpg'); };
		}

		menu_menu.onactivate = function() { MM_swapImage('MENU','','menu_over.jpg',1); };
		if(resmenu){
			menu_menu.ondeactivate = function() { imgrestore('MENU','menu.jpg'); };
		}

}