	// 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, 4, mtDropDown.reference.bottomLeft);

		//==================================================================================================
		// create a dropdown menu
		//==================================================================================================
		// the first parameter should be the HTML element which will act actuator for the menu
		//==================================================================================================
		//==================================================================================================

		//==================================================================================================
		// 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 menu1 = ms.addMenu(document.getElementById("menu1"));
		//menu1.addItem("#", "#");
		//menu1.addItem("Test 1b", "#");
		//menu1.addItem("Test 1c", "#");
		
		var menu2 = ms.addMenu(document.getElementById("menu2"));
		menu2.addItem("Contact us", "about-contact.htm");
		menu2.addItem("Register/Regulations", "about-register.htm");
		//menu2.addItem("Race entry", "about-race_entry.htm");
		//menu2.addItem("Links","links.htm");
		//menu2.addItem("Marshalling","marshal.htm");
		
		var menu3 = ms.addMenu(document.getElementById("menu3"));
		menu3.addItem("2009 Season", "2009.htm");
		menu3.addItem("2008 Season", "2008.htm");
		menu3.addItem("2007 Season", "2007.htm");
		menu3.addItem("2006 Season", "2006.htm");
		menu3.addItem("2005 Season", "2005.htm");
		//menu3.addItem("Test 3b","#");
		//menu3.addItem("Test 3c","#");
		
		var menu4 = ms.addMenu(document.getElementById("menu4"));
		menu4.addItem("Links", "links.htm");
		menu4.addItem("Marshalling", "marshal.htm");
		//menu4.addItem("2005 Dinner Dance", "galleries06/dinner06/gallery-dinner065index.asp");
		//menu4.addItem("Test 4c","#");
	
		//var menu5 = ms.addMenu(document.getElementById("menu5"));
			//menu5.addItem("Test 5b","#");
		//menu5.addItem("Test 5c","#");
		
		var menu6 = ms.addMenu(document.getElementById("menu6"));
			menu6.addItem("Track Photos","drivers-gallery.htm");
		menu6.addItem("Lost Friends","drivers-lost_friends.htm");
		menu6.addItem("Classifieds","drivers-classifieds.htm");
		//menu6.addItem("Test 6c","#");
		
		//var menu7 = ms.addMenu(document.getElementById("menu7"));
		//menu7.addItem("Test 7","#");
		
		
		//var menu8 = ms.addMenu(document.getElementById("menu8"));
		//menu8.addItem("Test 8a","#");
		//menu8.addItem("Test 8b","#");
		//menu8.addItem("Test 8c","#");
		
		//var menu9 = ms.addMenu(document.getElementById("menu9"));
		//menu9.addItem("Test 9a","#");
		//menu9.addItem("Test 9b","#");
		//menu9.addItem("Test 9c","#");

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