	// 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, -1, 0, mtDropDown.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("menu1"));
		menu1.addItem("&raquo; PGA Biography", "http://www.pgatour.com/players/00/22/06/index.html", "_blank");
		menu1.addItem("&raquo; David's Letter", "http://www.davidtomsfoundation.com/letter.cfm", "_self"); 
		menu1.addItem("&raquo; Ask David", "http://www.davidtomsfoundation.com/questions.cfm", "_self"); 
		
		var menu2 = ms.addMenu(document.getElementById("menu2"));
		menu2.addItem("&raquo; Press Releases", "http://www.davidtomsfoundation.com/pressrelease.cfm", "_self");
		menu2.addItem("&raquo; Newsletter Signup", "http://www.davidtomsfoundation.com/newslettersignup.cfm", "_self"); 
		
		var menu4 = ms.addMenu(document.getElementById("menu4"));
		menu4.addItem("&raquo; Donate", "https://www.davidtomsfoundation.com/donation.cfm", "_self");
		menu4.addItem("&raquo; Overview", "http://www.davidtomsfoundation.com/overview.cfm", "_self"); 
		menu4.addItem("&raquo; David Toms Academy", "http://www.davidtomsfoundation.com/academy.cfm", "_self"); 
		menu4.addItem("&raquo; David Toms Invitational", "http://www.davidtomsfoundation.com/2007 brochure.pdf", "_blank"); 
		menu4.addItem("&raquo; Charitable Partners", "http://www.davidtomsfoundation.com/partners.cfm", "_self"); 
		menu4.addItem("&raquo; Board Of Directors", "http://www.davidtomsfoundation.com/board.cfm", "_self"); 
		
		var menu5 = ms.addMenu(document.getElementById("menu5"));
		menu5.addItem("&raquo; David's Schedule", "http://www.davidtomsfoundation.com/event.cfm", "_self");
		menu5.addItem("&raquo; Golf Course Design", "http://www.davidtomsfoundation.com/design.cfm", "_self");
		menu5.addItem("&raquo; Swing Tips", "http://www.davidtomsfoundation.com/swing.cfm", "_self");
		menu5.addItem("&raquo; What's In The Bag", "http://www.davidtomsfoundation.com/bag.cfm", "_self");
		menu5.addItem("&raquo; Corporate Partners", "http://www.davidtomsfoundation.com/corporate.cfm", "_self");
		
		var menu6 = ms.addMenu(document.getElementById("menu6"));
		menu6.addItem("&raquo; Family", "http://www.davidtomsfoundation.com/family.cfm", "_self");
		menu6.addItem("&raquo; Hobbies", "http://www.davidtomsfoundation.com/hobbies.cfm", "_self");
		menu6.addItem("&raquo; Professional Career", "http://www.davidtomsfoundation.com/procareer.cfm", "_self");
		menu6.addItem("&raquo; Through The Years", "http://www.davidtomsfoundation.com/tyear.cfm", "_self");
		
		var menu7 = ms.addMenu(document.getElementById("menu7"));
		menu7.addItem("&raquo; David's Favorite Sites", "http://www.davidtomsfoundation.com/favorite.cfm", "_self");
		
		//var menu8 = ms.addMenu(document.getElementById("menu8"));
		//menu8.addItem("&raquo; Ebay Account", "http://stores.ebay.com/David-Toms-Foundation-Store", "_blank");
		//menu8.addItem("&raquo; Product Categories", "http://www.davidtomsfoundation.com/cart/categories.cfm", "");
		//==================================================================================================
	/*
		var menu2 = ms.addMenu(document.getElementById("menu2"));
		menu2.addItem("&raquo; Sub Menu Link", "#"); 
		menu2.addItem("&raquo; Sub Menu Link", "#"); 
		menu2.addItem("&raquo; Sub Menu Link", "#"); 
		//==================================================================================================
		var menu3 = ms.addMenu(document.getElementById("menu3"));
		menu3.addItem("&raquo; Sub Menu Link", "#"); 
		menu3.addItem("&raquo; Sub Menu Link", "#"); 
		menu3.addItem("&raquo; Sub Menu Link", "#"); 
		//==================================================================================================
		var menu4 = ms.addMenu(document.getElementById("menu4"));
		menu4.addItem("&raquo; Sub Menu Link", "#"); 
		menu4.addItem("&raquo; Sub Menu Link", "#"); 
		menu4.addItem("&raquo; Sub Menu Link", "#"); 
	*/
		//==================================================================================================
		// 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("&#8226; List Active Logs", "#");
		//subMenu1.addItem("&#8226; Search for Logs", "#");

		// menu : Get Started
		//var menu2 = ms.addMenu(document.getElementById("menu2"));
		//menu2.addItem("- Mission & Values", "#"); // send no URL if nothing should happen onclick
		//menu2.addItem("- History", "#"); // send no URL if nothing should happen onclick
		//menu2.addItem("- FAQs", "#"); // send no URL if nothing should happen onclick

		//==================================================================================================
		// 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();
	}

