	// 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

		//==================================================================================================

		// menu

		var menu1 = ms.addMenu(document.getElementById("menu1"));

		menu1.addItem("Cable Product", "#");

		menu1.addItem("Wire Product", "#");
		
		menu1.addItem("Switch Gears", "#");

		menu1.addItem("Lighting", "#");
		
		menu1.addItem("New Products", "#");
		
		menu1.addItem("Cable Jointing Kits", "cable_jointing_kits.asp");

		menu1.addItem("Steel Tublers", "steel_tublers.asp");

		menu1.addItem("Measuring Instruments", "measuring_instruments.asp");
		



		// submenu

		var subMenu1 = menu1.addMenu(menu1.items[0]);

		subMenu1.addItem("Power Cable", "power_cable.asp");

		subMenu1.addItem("Control Cable", "control_cable.asp");

		subMenu1.addItem("Telephone Cable", "telephone_cable.asp");
		
		subMenu1.addItem("Multicore Cable", "multicore_cable.asp");
		
		subMenu1.addItem("Rubber Wellding Cable", "rubber_wellding_cable.asp");
		
		subMenu1.addItem("Singnal Sheilded Cable", "singnal_sheilded_cable.asp");
		
		subMenu1.addItem("Jelly Filled Cables", "jelly_filled_cables.asp");
		
		subMenu1.addItem("PVC / XLPE Insulated Power Cable", "pvc_xlpe_cable.asp");
		
		
		



		// submenu

		var subMenu1 = menu1.addMenu(menu1.items[1]);

		subMenu1.addItem("House Wire", "hous_wire.asp");

		subMenu1.addItem("Screen Cables / Wires", "screen_wires_cable.asp");

		subMenu1.addItem("Submersible Wire", "submersible_wire.asp");

		subMenu1.addItem("Telecommunication", "telecommunication.asp");

		subMenu1.addItem("Data / Computer Wires", "data_computer_wires.asp");
		
		subMenu1.addItem("CU Wire", "cu_wire.asp");
		
		subMenu1.addItem("Wire Cables", "wire_cable.asp");
		



		// submenu

		var subMenu1 = menu1.addMenu(menu1.items[2]);

		subMenu1.addItem("Clipsal Switchs", "clipsal_switchs.asp");

		subMenu1.addItem("MK Switchs", "mk_switchs.asp");
		
		subMenu1.addItem("Switchs", "switchs.asp");
		
		subMenu1.addItem("Plug Socket", "plug_socket.asp");
		



		// submenu

		var subMenu1 = menu1.addMenu(menu1.items[3]);

		subMenu1.addItem("Lamp Poles", "lighting.asp");
		
		subMenu1.addItem("Street Light Pole", "street_light_pole.asp");
		



		// submenu

		var subMenu1 = menu1.addMenu(menu1.items[4]);

		subMenu1.addItem("Insulators", "insulators.asp");
		
		subMenu1.addItem("ACSR / ABC Conductor", "acsr_abc_conductor.asp");
		
		subMenu1.addItem("Alpic", "alpic.asp");
		
		subMenu1.addItem("Gland", "gland.asp");
		
		subMenu1.addItem("Junction Box", "junction_box.asp");
		
		subMenu1.addItem("Pannel Accessories", "pannel_accessories.asp");
		
		subMenu1.addItem("Pannel Items", "pannel_item.asp");
		
		subMenu1.addItem("Pole Box", "pole_box.asp");
		
		subMenu1.addItem("Timers 2", "timer_2.asp");
		
		subMenu1.addItem("Energy Meters", "energy_meters.asp");
		
		subMenu1.addItem("Connectors", "connectors.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.

		//==================================================================================================

		mtDropDown.renderAll();

	}


