	// 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("- The Wax"); // 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[0]);
		subMenu1.addItem("·  Modeling Waxes", "results.asp?category=101");
		subMenu1.addItem("·  Wax Modells", "waxmodels_1.asp");
		subMenu1.addItem("·  Tools", "results.asp?category=103");
		

		// menu : Get Started
		var menu2 = ms.addMenu(document.getElementById("menu2"));
		menu2.addItem("- Rubber", "results.asp?category=201");
		menu2.addItem("- Mold Vulcanizer", "results.asp?category=202");
		
      
	
		// menu
		var menu3 = ms.addMenu(document.getElementById("menu3"));
		menu3.addItem("- The Wax");
		menu3.addItem("- Injectors", "results.asp?category=302");
		
		// add a sub-menu
	var subMenu3 = menu3.addMenu(menu3.items[0]);
		subMenu3.addItem("·  Injection Waxes", "results.asp?category=301");
		subMenu3.addItem("·  Wax Modells", "waxmodels_1.asp");
		subMenu3.addItem("·  Tools", "results.asp?category=103");
		
		

           // menu
		var menu4 = ms.addMenu(document.getElementById("menu4"));
		menu4.addItem("- Investment", "results.asp?category=401");
		menu4.addItem("- Investment Mixers", "results.asp?category=402");		
		menu4.addItem("- Ovens", "results.asp?category=403");		
		menu4.addItem("- Other Products", "results.asp?category=404");
		
		// menu
		var menu5 = ms.addMenu(document.getElementById("menu5"));
		menu5.addItem("- Metals");
		menu5.addItem("- Casting machine", "results.asp?category=505");		
		menu5.addItem("- Video & Books", "results.asp?category=506");		
		menu5.addItem("- Health and Safety");
		menu5.addItem("- Other Products", "results.asp?category=510");		
		
        // add a sub-menu		
        var subMenu51 = menu5.addMenu(menu5.items[0]);
		subMenu51.addItem("·  MAGIC Alloys for Silver", "results.asp?category=501");
		subMenu51.addItem("·  MAGIC Alloys for Gold", "results.asp?category=502");
		subMenu51.addItem("·  MAGIC Alloys for Platinum", "results.asp?category=503");
		subMenu51.addItem("·  Other Alloys", "results.asp?category=504");		
		
		
        // add a sub-menu		
        var subMenu52 = menu5.addMenu(menu5.items[3]);
		subMenu52.addItem("·  Protective Clothing", "results.asp?category=507");
		subMenu52.addItem("·  Health protection", "results.asp?category=508");
		subMenu52.addItem("·  Dust aspirating systems", "results.asp?category=509");
		
			// menu
		var menu6 = ms.addMenu(document.getElementById("menu6"));
		menu6.addItem("- Casting Cleaning Machines", "results.asp?category=601");
		menu6.addItem("- Sprue Cutters", "results.asp?category=602");
		menu6.addItem("- Soldering", "results.asp?category=603");		

		
           // menu : banco da lavoro
		var menu7 = ms.addMenu(document.getElementById("menu7"));
		menu7.addItem("-  Workbenches", "results.asp?category=701");
		menu7.addItem("-  Chairs", "results.asp?category=702");
		menu7.addItem("-  Lamps", "results.asp?category=703");		
        menu7.addItem("-  Engraving Machines", "results.asp?category=704");
		menu7.addItem("-  Stone Setting Tools", "results.asp?category=705");		
		menu7.addItem("-  Burs and Drills");
		menu7.addItem("-  Gravers", "results.asp?category=709");
		menu7.addItem("-  Flex Shaft System", "results.asp?category=710");
		menu7.addItem("-  Micromotors", "results.asp?category=711");
		menu7.addItem("-  Tools");		
		menu7.addItem("-  Video & Books", "results.asp?category=717");
		menu7.addItem("-  Other Products", "results.asp?category=718");
		
           // add a sub-menu		
        var subMenu71 = menu7.addMenu(menu7.items[5]);
		subMenu71.addItem("·  Burs", "results.asp?category=706");
		subMenu71.addItem("·  Diamond Burs", "results.asp?category=707");
		subMenu71.addItem("·  Drills", "results.asp?category=708");		
		
			
		// add a sub-menu		
        var subMenu72 = menu7.addMenu(menu7.items[9]);
		subMenu72.addItem("·  Tools", "results.asp?category=712");
		subMenu72.addItem("·  Calipers and Gauges", "results.asp?category=713 ");
		subMenu72.addItem("·  Balances", "results.asp?category=714");		
        subMenu72.addItem("·  Karats Balances", "results.asp?category=715");
		subMenu72.addItem("·  Gemmology", "results.asp?category=716");		
		
		//==================================================================================================
		// 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();
	}
