// 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 (TransMenu.isSupported()) {

//===============================================================================================
	// 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 TransMenuSet(TransMenu.direction.down, 0, 0, TransMenu.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("menuOne"));
	menu1.addItem("History &amp; Mission","http://www.collegefund.org/about/history.html");		//0
	menu1.addItem("President&rsquo;s Message","http://www.collegefund.org/about/president.html");	//1
	menu1.addItem("Board of Trustees","http://www.collegefund.org/about/board.html");			//2
	menu1.addItem("Our Supporters","http://www.collegefund.org/about/supporters.html");			//2
	menu1.addItem("Did You Know?", "http://www.collegefund.org/about/didyouknow.html");			//3
	menu1.addItem("Inside The Fund", "http://www.collegefund.org/about/insidefund.html"); 		//4

		//var submenu0 = menu1.addMenu(menu1.items[#]);
		//submenu0.addItem(" ", " ");
		
			//var submenu00 = submenu0.addMenu(submenu0.items[0]);
			//submenu00.addItem("SubmenuSub", "");

//===============================================================================================

	var menu2 = ms.addMenu(document.getElementById("menuTwo"));
	menu2.addItem("Scholarships Available","http://www.collegefund.org/scholarships/main.html");
	menu2.addItem("Students &amp; Alumni","http://www.collegefund.org/scholarships/profiles.html");
	menu2.addItem("Online Guides","http://www.collegefund.org/scholarships/guides.html");
	menu2.addItem("Other Resources","http://www.collegefund.org/scholarships/resources.html");
	

//===============================================================================================

	var menu3 = ms.addMenu(document.getElementById("menuThree"));
	menu3.addItem("Current Projects &amp; News","http://www.collegefund.org/colleges/currentprojects.html");
	menu3.addItem("Mellon Faculty Development","http://www.collegefund.org/colleges/mellon_09.html");
	menu3.addItem("Tribal College Map","http://www.collegefund.org/colleges/map.html");
	menu3.addItem("Tribal College Jobs","http://www.collegefund.org/registry/employment.html");

//===============================================================================================

	var menu4 = ms.addMenu(document.getElementById("menuFour"));
	menu4.addItem("Why Donate?","http://www.collegefund.org/donate/whydonate.html");
	menu4.addItem("How To Donate","https://dnbweb1.blackbaud.com/OPXDONATE/donate.asp?cguid=28560895-3F15-49D2-9600-1368D8031936&dpid=3083");
	menu4.addItem("Corporate, Foundation &amp; Tribal Support","http://www.collegefund.org/donate/support.html");
	menu4.addItem("Sovereign Nations Scholarship Fund","http://www.collegefund.org/donate/snfse.html");
	menu4.addItem("Events &amp; Tours","http://www.collegefund.org/donate/events_tours.html");

//===============================================================================================

	var menu5 = ms.addMenu(document.getElementById("menuFive"));
	menu5.addItem("Fact Sheets","http://www.collegefund.org/news/factsheets.html");
	menu5.addItem("Advertising","http://www.collegefund.org/news/advertising.html");
	menu5.addItem("Publications","http://www.collegefund.org/news/publications.html");
	menu5.addItem("Media Kit","http://www.collegefund.org/news/mediakit.html");
	

//===============================================================================================

	// 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.
//===============================================================================================

	TransMenu.renderAll();
	}