// 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("members"));
	menu1.addItem("Join Member Rewards", "joinimpressive.asp");
	menu1.addItem("Order History", "orderhistory.asp"); 
	menu1.addItem("Create Your Own Combos", "createcombos.asp");
	menu1.addItem("Build Your Own Sandwiches", "makesandwiches.asp");
	menu1.addItem("Tell A Friend And Earn Points", "tellafriend.asp");
	menu1.addItem("Promotions &amp; Prizes", "promotionsprizes.asp");
	menu1.addItem("Corporate Gifts", "corporategifts.asp");
	menu1.addItem("Wishlist", "wishlist.asp");
	menu1.addItem("Member Reminder Program", "membersreminder.asp");
	//==================================================================================================

	//==================================================================================================
	var menu2 = ms.addMenu(document.getElementById("customerservice"));
	menu2.addItem("Online Order Form", "orderform.asp");
	menu2.addItem("Request A Catalogue", "request_catalogue.asp");
	menu2.addItem("Request A Quote", "request_quote1.asp");
	menu2.addItem("Subcribe to Mailing List", "subscribe.asp");
	menu2.addItem("My Account Manager", "myaccountmanager.asp");
	//==================================================================================================

	//==================================================================================================
	var menu3 = ms.addMenu(document.getElementById("companyprofile"));
	menu3.addItem("About Us", "aboutus.asp");
	menu3.addItem("Client List", "clientlist.asp");
	menu3.addItem("Testimonials", "testimonials.asp");
	menu3.addItem("Feedback", "feedback.asp");
	menu3.addItem("FAQs", "faqs.asp");
	menu3.addItem("Terms & Conditions", "termsconditions.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.
	//==================================================================================================
	TransMenu.renderAll();
}
