	// 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.topRight);

		//==================================================================================================
		// create a dropdown menu
		//==================================================================================================
		// the first parameter should be the HTML element which will act actuator for the menu
		//==================================================================================================

		//
		// About Robocup2004
		//
		var menu1 = ms.addMenu(document.getElementById("menu1"));
		menu1.addItem("History of BBF", "about_us.php?mid=1.1");
		menu1.addItem("BBF Movement", "about_us.php?mid=1.2");
		menu1.addItem("Goals & Objectives of BBF", "about_us.php?mid=1.3");
		menu1.addItem("Organizational Profile", "#");
		
		
		var subMenu11 = menu1.addMenu(menu1.items[3]);
		subMenu11.addItem("Our Mission & Vision","about_us.php?mid=1.4.1");
		subMenu11.addItem("Components – Organogram","about_us.php?mid=1.4.2");
		subMenu11.addItem("Our implementation strategies","about_us.php?mid=1.4.3");
		subMenu11.addItem("Board of Trustees (BOT)","about_us.php?mid=1.4.4");
		subMenu11.addItem("Sub Committees","about_us.php?mid=1.4.5");
		subMenu11.addItem("Our Commitments ","about_us.php?mid=1.4.6");
		subMenu11.addItem("Policy Level Support ","about_us.php?mid=1.4.7");
		subMenu11.addItem("Our Achievements","about_us.php?mid=1.4.8");
		subMenu11.addItem("Linkages/Networking ","about_us.php?mid=1.4.9");
		subMenu11.addItem("Development Partners","about_us.php?mid=1.4.10");
		subMenu11.addItem("Whom we work for ","about_us.php?mid=1.4.11");
		subMenu11.addItem("Service Providers ","about_us.php?mid=1.4.12");
		subMenu11.addItem("Our Regional Leadership Role ","about_us.php?mid=1.4.13");
		subMenu11.addItem("We as National Focal Point on IYCF","about_us.php?mid=1.4.14");
		subMenu11.addItem("Working Opportunities with us","about_us.php?mid=1.4.15");
		
		
		//==================================================================================================

		//==================================================================================================
		// 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])
		//==================================================================================================		

		//
		// RoboCup Soccer
		//
		var menu2 = ms.addMenu(document.getElementById("menu2"));
		menu2.addItem("Maternal Nutrition & Complementary Feeding","#");
		menu2.addItem("Mother Support Group","#");
		menu2.addItem("Baby Friendly Hospital Initiative (BFHI)","#");
		menu2.addItem("Breastfeeding Management","#");
		menu2.addItem("BCC & Advocacy ","#");
		menu2.addItem("Training   ","#");
		menu2.addItem("Monitoring & Evaluation ","#");
		
		var subMenu21 = menu2.addMenu(menu2.items[0]);
		subMenu21.addItem("Role in IYCF","program.php?mid=2.1.2");
		subMenu21.addItem("Complementary feeding- recipes","program.php?mid=2.1.2");
		subMenu21.addItem("Complementary feeding- recipes","program.php?mid=2.1.3");
		subMenu21.addItem("Promoting Maternal Nutrition ","program.php?mid=2.1.4");
		
		var subMenu21 = menu2.addMenu(menu2.items[1]);
		subMenu21.addItem("Success in Mother Support Group","program.php?mid=2.2.1");
		
		var subMenu21 = menu2.addMenu(menu2.items[2]);
		subMenu21.addItem("BFHI Movement","program.php?mid=2.3.1");
		
		var subMenu21 = menu2.addMenu(menu2.items[3]);
		subMenu21.addItem("Breastfeeding Management Centre ( BFMC)","program.php?mid=2.4.1");
		subMenu21.addItem("Achievements in LMC","program.php?mid=2.4.2");
		subMenu21.addItem("Counseling","program.php?mid=2.4.3");
		
		var subMenu21 = menu2.addMenu(menu2.items[4]);
		subMenu21.addItem("Media Communication","program.php?mid=2.5.1");
		subMenu21.addItem("BCC Resource Material","program.php?mid=2.5.2");
		subMenu21.addItem("Publications","program.php?mid=2.5.3");
		
		var subMenu21 = menu2.addMenu(menu2.items[5]);
		subMenu21.addItem("Skill training for  Human Resource Development","program.php?mid=2.6.1");
		
		var subMenu21 = menu2.addMenu(menu2.items[6]);
		subMenu21.addItem("Monitoring on BMS code Violation","program.php?mid=2.7.1");
		subMenu21.addItem("Monitoring BFHI & MSG","program.php?mid=2.7.2");
		subMenu21.addItem("Research","program.php?mid=2.7.3");
		
		

	    var menu3 = ms.addMenu(document.getElementById("menu3"));
		menu3.addItem("BBF Resource Centre", "#");

		
		var subMenu31 = menu3.addMenu(menu3.items[0]);
		subMenu31.addItem("BCC Materials","resource.php?mid=3.1.1");
		subMenu31.addItem("Training Curriculums","resource.php?mid=3.1.2");
		subMenu31.addItem("Text & Resource Books","resource.php?mid=3.1.3");
		subMenu31.addItem("Research Bulletins","resource.php?mid=3.1.4");
		
	/*	var subMenu31 = menu3.addMenu(menu3.items[2]);
		subMenu31.addItem("SAFTA","#");
		subMenu31.addItem("ASEAN","#");
		subMenu31.addItem("BIMSTEC","#");
		
		var subMenu31 = menu3.addMenu(menu3.items[3]);
		subMenu31.addItem("TIFA","#");*/
		
		// Robocup Junior
		var menu4 = ms.addMenu(document.getElementById("menu4"));
		menu4.addItem("Days Observance","events.php?mid=4.1");		
		menu4.addItem("Conference/Seminars/Workshops","events.php?mid=4.2");		
		

		/*var subMenu41 = menu4.addMenu(menu4.items[0]);
		subMenu41.addItem("SAP","#");
		subMenu41.addItem("PRSP","#");
		subMenu41.addItem("DSC","#");

		var subMenu42 = menu4.addMenu(menu4.items[1]);
		subMenu42.addItem("PRGF","#");
		
		var subMenu42 = menu4.addMenu(menu4.items[2]);
		subMenu42.addItem("KJDRP","#");
		subMenu42.addItem("SBCP","#");
		subMenu42.addItem("NWCDP","#");*/
		
		
		var menu5 = ms.addMenu(document.getElementById("menu5"));
		menu5.addItem("Breastfeeding","consulting.php?mid=5.1");		
		menu5.addItem("Complementaryfeeding","consulting.php?mid=5.2");		
		menu5.addItem("Maternal Nutrition","consulting.php?mid=5.3");		
		
		/*var menu6 = ms.addMenu(document.getElementById("menu6"));
		menu6.addItem("River","#");		
		menu6.addItem("Forest","#");		
		menu6.addItem("Farm Land","#");		
		
		var menu7 = ms.addMenu(document.getElementById("menu7"));
		menu7.addItem("Land","#");		
		menu7.addItem("Women Rights to Land","#");		
		menu7.addItem("Ecological Agriculture","#");	
		/*var menu5 = ms.addMenu(document.getElementById("menu5"));
		menu5.addItem("Información Financiera", "#");
		menu5.addItem("Indicadores", "#");
		menu5.addItem("Eventos Relevantes", "#");
		
		var menu6 = ms.addMenu(document.getElementById("menu6"));
		menu6.addItem("Pago en Línea", "#");*/		

		//==================================================================================================
		// 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();
	}
