	// 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 (mtDropDown.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 mtDropDownSet(mtDropDown.direction.down, 0, 0, mtDropDown.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("menu1"));
		menu1.addItem("- History", "ProgramShow.html?ProgramShow_ProgramID=c373e91fca780ef98f6f9cd935938c9d"); // send no URL if nothing should happen onclick
		menu1.addItem("- News", "InfoPublishs.html"); // send no URL if nothing should happen onclick
		//==================================================================================================

		//==================================================================================================
		// add a sub-menu
		//==================================================================================================
		// to add a sub menu to an existing menu object, call it's addMenu method and pass it the item from
		// the parent menu which should act as it's actuator. To add a submenu to the fourth item of a menu
		// called "theMenu", you would do theMenu.addMenu(theMenu.items[3])
		/*==================================================================================================
		var subMenu1 = menu1.addMenu(menu1.items[1]);
		subMenu1.addItem("?(ss) Shared-Server", "http://www.mediatemple.net/services/webhosting/ss/linux-standard/");
		subMenu1.addItem("?(as) Appliance-Server", "http://www.mediatemple.net/services/webhosting/as/linux/");
		subMenu1.addItem("?(ds) Dedicated-Server", "http://www.mediatemple.net/services/webhosting/ds/linux/");
		subMenu1.addItem("?(fc) Flash Communication Server MX", "http://www.mediatemple.net/services/webhosting/flashcom/shared/");
		subMenu1.addItem("?Infrastructure/Technology", "http://www.mediatemple.net/company/aboutus/techology-infrastructure.php");
		*/

		/* submenu
		var subMenu2 = menu1.addMenu(menu1.items[2]);
		subMenu2.addItem("?Mad Merch (full solution)", "http://www.mediatemple.net/services/madmerch/");
		*/

		// menu : Get Started
		var menu2 = ms.addMenu(document.getElementById("menu2"));
		menu2.addItem("- Green sand casting", "Process.html?ProductMultiCategoryPicker210_action=Searchcategory&ProductPicker_action=Searchcategory&CategoryID=c373e91fca781df68f6f9cd935938c9d");
		menu2.addItem("- Resin Sand casting", "Process.html?ProductMultiCategoryPicker210_action=Searchcategory&ProductPicker_action=Searchcategory&CategoryID=c373e91fca781e108f6f9cd935938c9d");
		menu2.addItem("- Investment castin", "Process.html?ProductMultiCategoryPicker210_action=Searchcategory&ProductPicker_action=Searchcategory&CategoryID=c373e91fca781e138f6f9cd935938c9d");
		menu2.addItem("- Die Casting Introduction", "Process.html?ProductMultiCategoryPicker210_action=Searchcategory&ProductPicker_action=Searchcategory&CategoryID=c373e91fca781e168f6f9cd935938c9d");
		menu2.addItem("- Gravity Die casting", "Process.html?ProductMultiCategoryPicker210_action=Searchcategory&ProductPicker_action=Searchcategory&CategoryID=c373e91fca781e198f6f9cd935938c9d");
		menu2.addItem("- FBE Coating", "Process.html?ProductMultiCategoryPicker210_action=Searchcategory&ProductPicker_action=Searchcategory&CategoryID=c373e91fca781e1c8f6f9cd935938c9d");
		menu2.addItem("- CNC machining", "Process.html?ProductMultiCategoryPicker210_action=Searchcategory&ProductPicker_action=Searchcategory&CategoryID=c373e91fca781e1f8f6f9cd935938c9d");
		
		// menu
		var menu3 = ms.addMenu(document.getElementById("menu3"));
		menu3.addItem("- Auto parts", "CategoryList.html?ProductMultiCategoryPicker210_action=Searchcategory&ProductPicker_action=Searchcategory&CategoryID=c373e91fca781e3f8f6f9cd935938c9d");
		menu3.addItem("- Wind mill", "CategoryList.html?ProductMultiCategoryPicker210_action=Searchcategory&ProductPicker_action=Searchcategory&CategoryID=c373e91fca781e428f6f9cd935938c9d");
		menu3.addItem("- Machinery parts", "CategoryList.html?ProductMultiCategoryPicker210_action=Searchcategory&ProductPicker_action=Searchcategory&CategoryID=c373e91fca781e458f6f9cd935938c9d");
		menu3.addItem("- Valve and Fittings", "CategoryList.html?ProductMultiCategoryPicker210_action=Searchcategory&ProductPicker_action=Searchcategory&CategoryID=c373e91fca781e488f6f9cd935938c9d");
		menu3.addItem("- Pumps", "CategoryList.html?ProductMultiCategoryPicker210_action=Searchcategory&ProductPicker_action=Searchcategory&CategoryID=c373e91fca781e4b8f6f9cd935938c9d");
		menu3.addItem("- Burner cover & Stove", "CategoryList.html?ProductMultiCategoryPicker210_action=Searchcategory&ProductPicker_action=Searchcategory&CategoryID=c373e91fca781e568f6f9cd935938c9d");
		menu3.addItem("- FBE Coating parts", "CategoryList.html?ProductMultiCategoryPicker210_action=Searchcategory&ProductPicker_action=Searchcategory&CategoryID=c373e91fca781e598f6f9cd935938c9d");
		menu3.addItem("- Aluminum and Copper", "CategoryList.html?ProductMultiCategoryPicker210_action=Searchcategory&ProductPicker_action=Searchcategory&CategoryID=c373e91fca781e5c8f6f9cd935938c9d");

		// menu
		var menu4 = ms.addMenu(document.getElementById("menu4"));
		menu4.addItem("- Quality certificate", "ProgramShow.html?ProgramShow_ProgramID=c373e91fca780ef18f6f9cd935938c9d#1");
		menu4.addItem("- 3D inspection", "ProgramShow.html?ProgramShow_ProgramID=c373e91fca780ef18f6f9cd935938c9d#2");
		menu4.addItem("- Roughness test", "ProgramShow.html?ProgramShow_ProgramID=c373e91fca780ef18f6f9cd935938c9d#3");
		menu4.addItem("- Spectrometer", "ProgramShow.html?ProgramShow_ProgramID=c373e91fca780ef18f6f9cd935938c9d#4");
		menu4.addItem("- Mechanical and properties test", "ProgramShow.html?ProgramShow_ProgramID=c373e91fca780ef18f6f9cd935938c9d#5");
		menu4.addItem("- Microstructure", "ProgramShow.html?ProgramShow_ProgramID=c373e91fca780ef18f6f9cd935938c9d#6");
				
		// menu : Company
		var menu5 = ms.addMenu(document.getElementById("menu5"));
		menu5.addItem("- Message Board", "MessageBoard.html");
		menu5.addItem("- Electronic Map", "EnterpriseMap.html");

		//==================================================================================================
		// 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.
		//==================================================================================================
		mtDropDown.renderAll();
	}
