	// 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, 15, mtDropDown.reference.bottomLeft);

		//==================================================================================================
		// create a dropdown menu
		//==================================================================================================
		// the first parameter should be the HTML element which will act actuator for the menu
		//==================================================================================================
		// menu: FOUNDATION PROFILE
		var menu1 = ms.addMenu(document.getElementById("menu1"));
		//menu1.addItem("- Foundation Profile", "http://63.134.218.108/foundation"); // send no URL if nothing should happen onclick
		menu1.addItem("- Trustees", "http://www.srf.org/foundation/trustees.php"); // send no URL if nothing should happen onclick
		menu1.addItem("- Governors", "http://www.srf.org/foundation/governors.php"); // send no URL if nothing should happen onclick
		menu1.addItem("- Program Staff", "http://www.srf.org/foundation/staff.php"); // send no URL if nothing should happen onclick
		// will be added at a later date
		//menu1.addItem("- Grant Database", "http://63.134.218.108/grants/grantsdb.php"); // 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("International", "http://63.134.218.108/grants/international.php");
			//subMenu1.addItem("Domestic", "http://63.134.218.108/grants/domestic.php");
			
			
		

		// menu : MISSION
		var menu2 = ms.addMenu(document.getElementById("menu2"));
		menu2.addItem("- Mission", "http://www.srf.org/mission/");
		menu2.addItem("- History", "http://www.srf.org/mission/history.php");

		
		// menu : PROGRAMS
		var menu3 = ms.addMenu(document.getElementById("menu3"));
		//menu3.addItem("- New Applicants", "http://63.134.218.108/grants/");
		menu3.addItem("- International Security", "http://www.srf.org/grants/international.php");
		menu3.addItem("- Domestic Public Policy", "http://www.srf.org/grants/domestic.php");
		menu3.addItem("- Direct Service Grants", "http://www.srf.org/grants/domesticservicegrants.php");
		menu3.addItem("- Grant Database", "http://www.srf.org/grants/grantsdb.php");
		menu3.addItem("- World Politics & Statecraft Fellowship", "http://www.srf.org/grants/world_politics.php");
		
			// submenu
			//var subMenu3 = menu3.addMenu(menu3.items[1]);
			//subMenu3.addItem("Guidelines", "http://63.134.218.108/grants/guideline.php");
			//subMenu3.addItem("Templates", "http://63.134.218.108/grants/template.php");
			//subMenu3.addItem("FAQ", "http://63.134.218.108/grants/faq.php");
			
			// submenu
			//var subMenu3 = menu3.addMenu(menu3.items[2]);
			//subMenu3.addItem("Guidelines", "http://63.134.218.108/grants/guideline.php");
			//subMenu3.addItem("Templates", "http://63.134.218.108/grants/template.php");
			//subMenu3.addItem("FAQ", "http://63.134.218.108/grants/faq.php");


		// menu : APPLICATION PROCESS
		var menu4 = ms.addMenu(document.getElementById("menu4"));
		menu4.addItem("- Guidelines", "http://www.srf.org/grants/guideline.php");
		menu4.addItem("- Proposal Templates", "http://www.srf.org/grants/template.php");
		//menu4.addItem("- Concept Paper", "http://63.134.218.108/grants/concept.php");
		menu4.addItem("- FAQ", "http://www.srf.org/grants/faq.php");
				
		// menu : ANNUAL REPORTS
		var menu5 = ms.addMenu(document.getElementById("menu5"));
		menu5.addItem("Complete Archive", "http://www.srf.org/annual");
		
		// menu : GRANTEE INFORMATION
		var menu6 = ms.addMenu(document.getElementById("menu6"));
		menu6.addItem("- Reporting Requirements", "http://www.srf.org/status");
		
		// menu : CONTACTS
		var menu7 = ms.addMenu(document.getElementById("menu7"));
		menu7.addItem("- General Contact", "http://www.srf.org/contact/");
		menu7.addItem("- Map", "http://www.srf.org/contact/map.php");
		
		// menu : HELP
		var menu8 = ms.addMenu(document.getElementById("menu8"));
		menu8.addItem("- FAQ", "http://www.srf.org/grants/faq.php");
		menu8.addItem("- General Contact", "http://www.srf.org/contact/");

		
		
		//==================================================================================================
		// 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();
	}
