	// 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

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



		//

		// Domains

		//

		var menu2 = ms.addMenu(document.getElementById("menu2"));

		menu2.addItem("Profile - An Overview", "biography_profile.htm");

		menu2.addItem("Association", "biography_association.htm");
		menu2.addItem("Award’s Photo Gallery", "awards_photo_gallery.htm");

	

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



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

		// 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])

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



		//

		// Web Services

		//menu3

		var menu3 = ms.addMenu(document.getElementById("menu3"));

		menu3.addItem("Electoral History", "constituency_statistics.htm");

		menu3.addItem("Interactive Map - Krishna Nagar", "constituency_map.htm");

		menu3.addItem("Development Works", "biography_works.htm");

		menu3.addItem("Important Offices & Organisations", "const_offices.htm");
		menu3.addItem("Constituency Photo Gallery", "constituency_photo_gallery.htm");

		

		//

		// Multimedia

		//menu4 

		var menu5 = ms.addMenu(document.getElementById("menu5"));

		menu5.addItem("My Mantra","biography_vision.htm");

		menu5.addItem("On Delhi","issue_delhi.htm");

		menu5.addItem("On Quality of Life","issue_quality_of_life.htm");

		menu5.addItem("The Environment","issue_environment.htm");

		menu5.addItem("Yamuna River","issue_yamuna.htm");

		menu5.addItem("Health","issue_health.htm");

		menu5.addItem("Education","issue_education.htm");

		menu5.addItem("Law and order","issue_law.htm");

		menu5.addItem("Public Transportation System","issue_traffic.htm");

		menu5.addItem("Water","issue_water.htm");

		menu5.addItem("Power","issue_power.htm");

		menu5.addItem("Unauthorised Colonies and JJ Clusters","issue_unauthorised_colonies.htm");

		menu5.addItem("Urban Policy","issue_urban_policy.htm");	

		menu5.addItem("E-governance","issue_e_governess.htm");	

		menu5.addItem("Employment / Avenues of Income","issue_employment.htm");	

		menu5.addItem("Price Hike","issue_price_hike.htm");

	





		// Resources

		var menu7 = ms.addMenu(document.getElementById("menu7"));

		menu7.addItem("Print","news_archive.php");		

		menu7.addItem("Electronic","javascript:popUpWindow('media_electronic_new1.htm')");

		menu7.addItem("Online","media_online.htm");

		menu7.addItem("Press Release","media_archive.php");		

	// Resources

		var menu8 = ms.addMenu(document.getElementById("menu8"));

		menu8.addItem("National","test.htm",1);		

		menu8.addItem("Delhi State","party_delhi_state.htm");

			

			// Resources

		var menu9 = ms.addMenu(document.getElementById("menu9"));

		menu9.addItem("Publication Photo Gallery","publication_photo_gallery.htm");



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

		// 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();

	}


