// 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("products"));
	menu1.addItem("Hoists", "/hoists/hoist-overview.asp"); 
	menu1.addItem("Compaction", "/compactors/compactors-overview.asp");
	menu1.addItem("Containers", "/containers/refuse-container-overview.asp");
	menu1.addItem("Hoppers", "/hoppers/hoppers-overview.asp");
	menu1.addItem("Environmental", "/environmental/environmental-overview.asp");
	menu1.addItem("All-Star Parts", "");
	menu1.addItem("Other Products", "");

	/*var submenu0 = menu1.addMenu(menu1.items[0]);
	submenu0.addItem("Cable Hoists", "/hoists/cable-hoist-overview.asp");
	submenu0.addItem("Hook Hoists", "");
	submenu0.addItem("Trailer Hoists", "");
		
	var submenu1 = menu1.addMenu(menu1.items[1]);
	submenu1.addItem("Stationary", "/compactors/stationary-compactors.asp");
	submenu1.addItem("Self-Contained", "/compactors/self-contained-compactors.asp");
	submenu1.addItem("Specialty", "/compactors/specialty-compactors.asp");
	submenu1.addItem("Balers", "/compactors/balers.asp");
	
	var submenu2 = menu1.addMenu(menu1.items[2]);
	submenu2.addItem("Refuse Containers", "/containers/refuse-container-models.asp");
	submenu2.addItem("Environmental Containers", "/containers/environmental-containers.asp");
	submenu2.addItem("Recycling Containers", "/containers/recycling-containers.asp");
	
	var submenu3 = menu1.addMenu(menu1.items[4]);
	submenu3.addItem("Environmental Containers", "/environmental/environmental-containers.asp");
	submenu3.addItem("Mobile Equipment", "/environmental/mobile-equipment.asp");
	submenu3.addItem("Additional Environmental Equipment", "/environmental/other-environmental-equipment.asp");*/
	
	var submenu4 = menu1.addMenu(menu1.items[5]);
	submenu4.addItem("Hoist Parts", "/hoists/hoist-parts.asp");
	submenu4.addItem("Compactor &amp; Baler Parts", "/compactors/compactor-parts.asp");
	submenu4.addItem("Container Parts", "/containers/refuse-container-parts.asp");
	submenu4.addItem("Hopper Parts", "/hoppers/hopper-parts.asp");
	
	var submenu5 = menu1.addMenu(menu1.items[6]);
	submenu5.addItem("Crushed Car Cruiser", "/other-products/crushed-car-cruiser.asp");
	submenu5.addItem("Retracto-Tarp", "/other-products/retracto-tarp.asp");
	submenu5.addItem("Plug and Play", "/other-products/plug-and-play.asp");
	submenu5.addItem("Power Tower", "/other-products/power-tower.asp");
	submenu5.addItem("The Pre-Crusher", "/other-products/pre-crusher.asp");
	submenu5.addItem("Slayer", "/other-products/s2s-sludge-slayer.asp");
	submenu5.addItem("The Guardian", "/other-products/guardian.asp");
	submenu5.addItem("Klenzoil", "/other-products/klenzoil.asp");
	
	//==================================================================================================
	
	//==================================================================================================
	
	var menu2 = ms.addMenu(document.getElementById("support"));
	menu2.addItem("Department Contacts", "/customer-support/department-contacts.asp"); 
	menu2.addItem("Operation Manuals", "/customer-support/operation-manuals.asp");
	menu2.addItem("Warranty Claim Request", "/customer-support/warranty-claim-form1.asp");
	//TRO turned next line off 12/19/08
	//menu2.addItem("Feedback", "/customer-support/feedback-form.asp");
	
	//TRO turned next line off 12/19/08
	//var submenu5 = menu2.addMenu(menu2.items[3]);
	//TRO turned next line off 12/19/08
	//submenu5.addItem("General Comments", "/customer-support/feedback-form.asp");
	//TRO turned next line off 12/19/08
	//submenu5.addItem("Take Survey", "/customer-support/survey.asp");
	
	//==================================================================================================
	
	//==================================================================================================
	
	var menu3 = ms.addMenu(document.getElementById("brochures"));
	//TRO turned next line off 12/19/08
	//menu3.addItem("Mail Me a Brochure", "/mail-me-a-brochure.asp"); 
	menu3.addItem("Brochure Downloads", "/brochure-downloads.asp");
	
	//==================================================================================================
	
	//==================================================================================================
	
	var menu4 = ms.addMenu(document.getElementById("updates"));
	//TRO turned next line off 12/19/08
	//menu4.addItem("Sign Up for Current Offers", "/current-offer-signup.asp"); 
	menu4.addItem("Monthly Specials", "/monthly-specials.asp");
	
	//==================================================================================================
	
	//==================================================================================================
	
	var menu5 = ms.addMenu(document.getElementById("releases"));
	menu5.addItem("Galbreath Releases", "/news-releases.asp?view_cat=Galbreath%20News%20Release"); 
	menu5.addItem("Wastequip Releases", "/news-releases.asp?view_cat=Wastequip%20News%20Release");
	menu5.addItem("Review Galbreath Thoughts", "/news-releases.asp?view_cat=Galbreath%20Thought");
	//TRO turned next line off 12/19/08
	//menu5.addItem("Submit Your Thoughts", "/submit-your-thoughts-form.asp");
	//menu5.addItem("Messages from the President", "/news-releases.asp?view_cat=President%60s%20Message");

	//==================================================================================================
	
	//==================================================================================================
	// 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();
}