// 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, 0, 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("Browse Products", "http://www.ahpseals.com/products/index.php"); // send no URL if nothing should happen onclick
		menu1.addItem("Hydraulic & Fluid Seals", "http://www.ahpseals.com/products/hydraulic.php"); 
		menu1.addItem("Rotary Shaft Seals", "http://www.ahpseals.com/products/rotary.php"); // send no URL if nothing should happen onclick
		menu1.addItem("Spring&ndash;energized Teflon&reg; Seals", "http://www.ahpseals.com/products/seteflon.php");
		menu1.addItem("Pneumatic Seals", "http://www.ahpseals.com/products/pneumatic.php");
		menu1.addItem("Custom Engineered Seal Designs", "http://www.ahpseals.com/services/custom.php"); // send no URL if nothing should happen onclick
		menu1.addItem("Compressor, Pumps & Valve Seals", "http://www.ahpseals.com/products/compressor.php"); 
		menu1.addItem("Gaskets", "http://www.ahpseals.com/products/gaskets.php"); 
		menu1.addItem("Molded Parts", "http://www.ahpseals.com/products/molded.php"); 
		menu1.addItem("Machined Parts", "http://www.ahpseals.com/products/machined.php"); 
		menu1.addItem("Composite Bearings", "http://www.ahpseals.com/products/composite.php"); // send no URL if nothing should happen onclick
		menu1.addItem("Spec-A-Seal&#8482; & Check Availability", "http://www.ahpseals.com/services/calc.php"); // send no URL if nothing should happen onclick
		menu1.addItem("Product Locator", "http://www.ahpseals.com/products/locator.php"); // send no URL if nothing should happen onclick

		var submenu0 = menu1.addMenu(menu1.items[1]);
		submenu0.addItem("Symmetrical Seals", "http://www.ahpseals.com/products/symmetrical.php");
		submenu0.addItem("Rod Seals", "http://www.ahpseals.com/products/rod.php");
		submenu0.addItem("Piston Seals", "http://www.ahpseals.com/products/piston.php");
		submenu0.addItem("Buffer Seals", "http://www.ahpseals.com/products/buffer.php");
		submenu0.addItem("Wipers", "http://www.ahpseals.com/products/wipers.php");
		submenu0.addItem("Wear Rings", "http://www.ahpseals.com/products/wear.php");
		submenu0.addItem("Back-up Rings", "http://www.ahpseals.com/products/backup.php");
		submenu0.addItem("Static Seals", "http://www.ahpseals.com/products/static.php");
		submenu0.addItem("Show All", "http://www.ahpseals.com/products/hydraulic.php");
		
		var submenu0 = menu1.addMenu(menu1.items[2]);
		submenu0.addItem("Oil, Grease & Bearing Seals", "http://www.ahpseals.com/products/oil.php");
		submenu0.addItem("High Pressure Seals", "http://www.ahpseals.com/products/high_pres.php");
		submenu0.addItem("High Performance Seals", "http://www.ahpseals.com/products/high_perf.php");
		submenu0.addItem("Swivel Seals", "http://www.ahpseals.com/products/swivel.php");
		submenu0.addItem("Split Rotary Shaft Seals", "http://www.ahpseals.com/products/split.php");
		submenu0.addItem("V-Rings", "http://www.ahpseals.com/products/vrings.php");
		submenu0.addItem("Labyrinth", "http://www.ahpseals.com/products/labyrinth.php");
		submenu0.addItem("Show All", "http://www.ahpseals.com/products/rotary.php");
		
		var submenu0 = menu1.addMenu(menu1.items[3]);
		submenu0.addItem("VS Series - V-spring Seals", "http://www.ahpseals.com/products/set_vs.php");
		submenu0.addItem("SC Series - Slanted Coil Spring Seals", "http://www.ahpseals.com/products/set_sc.php");
		submenu0.addItem("HS Series - Helical Spring Seals", "http://www.ahpseals.com/products/set_hs.php");
		submenu0.addItem("Show All", "http://www.ahpseals.com/products/seteflon.php");
		
		var submenu0 = menu1.addMenu(menu1.items[4]);
		submenu0.addItem("Symmetrical Seals", "http://www.ahpseals.com/products/p_symmetrical.php");
		submenu0.addItem("Rod Seals", "http://www.ahpseals.com/products/p_rod.php");
		submenu0.addItem("Piston Seals", "http://www.ahpseals.com/products/p_piston.php");
		submenu0.addItem("Wipers", "http://www.ahpseals.com/products/p_wipers.php");
		submenu0.addItem("Wear Rings", "http://www.ahpseals.com/products/p_wear.php");
		submenu0.addItem("Back-up Rings", "http://www.ahpseals.com/products/p_backup.php");
		submenu0.addItem("Static Seals", "http://www.ahpseals.com/products/p_static.php");
		submenu0.addItem("Show All", "http://www.ahpseals.com/products/pneumatic.php");

		//==================================================================================================

		//==================================================================================================
		var menu2 = ms.addMenu(document.getElementById("services"));
		menu2.addItem("Custom Engineered Seal Design", "http://www.ahpseals.com/services/custom.php");
		menu2.addItem("Seal Failure Analysis", "http://www.ahpseals.com/services/failure.php");
		menu2.addItem("Reverse Engineering", "http://www.ahpseals.com/services/reverse.php");
		menu2.addItem("Product Development/Prototyping", "http://www.ahpseals.com/services/product_dev.php");
		menu2.addItem("KwikSeals&#8482; Same day seal manufacturing", "http://www.ahpseals.com/services/kwikseals.php");
		menu2.addItem("KwikMold&#8482; Quick turnaround molding", "http://www.ahpseals.com/services/kwikmold.php");
		menu2.addItem("SealMatch&#8482;", "http://www.ahpseals.com/services/sealmatch.php");
		menu2.addItem("Custom Stocking Program", "http://www.ahpseals.com/services/stocking.php");
		menu2.addItem("In-Field Technical Support", "http://www.ahpseals.com/services/tech_support.php");
		menu2.addItem("Global Sourcing", "http://www.ahpseals.com/services/global.php");

		//==================================================================================================

		//==================================================================================================
		var menu3 = ms.addMenu(document.getElementById("industries"));
		menu3.addItem("Show Industries", "http://www.ahpseals.com/industries/index.php");

		//==================================================================================================

		//==================================================================================================
		var menu4 = ms.addMenu(document.getElementById("tech_info"));
		//menu4.addItem("Housing Information", "http://www.ahpseals.com/tech/housing.php");
		menu4.addItem("Materials", "http://www.ahpseals.com/tech/materials.php");
		//menu4.addItem("Fluid Compatibility", "http://www.ahpseals.com/tech/fluid.php");
		//menu4.addItem("Seal Pressure Ratings", "http://www.ahpseals.com/tech/pressure.php");
		//menu4.addItem("Temperature Ratings", "http://www.ahpseals.com/tech/temperature.php");
		menu4.addItem("Installation Instructions", "http://www.ahpseals.com/tech/installation.php");
		menu4.addItem("Storage Instructions", "http://www.ahpseals.com/tech/storage.php");
		//menu4.addItem("Glossary", "http://www.ahpseals.com/tech/glossary.php");
		//menu4.addItem("Conversion Charts", "http://www.ahpseals.com/tech/conversion.php");
		menu4.addItem("Effect of Operating Parameters", "http://www.ahpseals.com/tech/parameters.php");
		menu4.addItem("Selection of Seals", "http://www.ahpseals.com/tech/selection.php");
		menu4.addItem("Tech-Bulletins", "http://www.ahpseals.com/tech/bulletins.php");
		menu4.addItem("Hardware, Surface Finish, Tolerances", "http://www.ahpseals.com/tech/HFST.php");
		menu4.addItem("Industry Resource Links", "http://www.ahpseals.com/tech/links.php");


		//==================================================================================================

		//==================================================================================================
		var menu5 = ms.addMenu(document.getElementById("find_seal"));
		menu5.addItem("2 Easy Steps to Select A Seal", "http://www.ahpseals.com/find/2steps.php");
		menu5.addItem("Seal Request", "http://www.ahpseals.com/contact/index.php");
		menu5.addItem("Check Availability & Request a Quote", "http://www.ahpseals.com/services/calc.php");
		menu5.addItem("Product Locator", "http://www.ahpseals.com/products/locator.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();
	}