	// 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 (DropDown.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 DropDownSet(DropDown.direction.down, 1, 1, DropDown.reference.bottomLeft);

		//==================================================================================================
		// create a dropdown menu
		//==================================================================================================
		// the first parameter should be the HTML element which will act actuator for the menu
		//==================================================================================================
		
		//GLOBAL NAV --- TEAM
		var menu1 = ms.addMenu(document.getElementById("menu1"));
		menu1.addItem("Players", "team.php"); 
		menu1.addItem("Coaches", "coaches.php");
		//menu1.addItem("Staff", "team.php?page=staff");
		menu1.addItem("History", "history.php");

		//GLOBAL NAV --- HISTORY (SUB-MENU UNDER TEAM)
 		var subMenu1_3 = menu1.addMenu(menu1.items[2]);
		subMenu1_3.addItem("- Record by Season", "history.php?page=recordsBySeason");
		subMenu1_3.addItem("- Individual Records", "history.php?page=individualRecords");
		subMenu1_3.addItem("- Team Captains", "history.php?page=teamCaptains");
		subMenu1_3.addItem("- Hall Of Fame", "history.php?page=hallOfFame");

		//GLOBAL NAV --- NEWS
		var menu4 = ms.addMenu(document.getElementById("menu4"));
		menu4.addItem("Latest Headlines", "news.php");
		menu4.addItem("Icers Stats", "stats.php");
		menu4.addItem("ACHA Rankings", "rankings.php");
		//menu4.addItem("ESCHL Standings", "standings.htm");

		//GLOBAL NAV --- FAN ZONE
		//var menu5 = ms.addMenu(document.getElementById("menu5"));
		//menu5.addItem("Icers Booster Club", "BoosterClub.htm");
		//menu5.addItem("Icers Shop", "Merchandise.htm");

		//GLOBAL NAV --- ICE PAVILION
		var menu6 = ms.addMenu(document.getElementById("menu6"));
		menu6.addItem("About the Rink", "pavilion.php");
		menu6.addItem("Directions and Parking", "pavilion.php?pageID=directions");

		//==================================================================================================

		//==================================================================================================
		// 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])
		//==================================================================================================	

		//==================================================================================================
		// 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.
		//==================================================================================================
		DropDown.renderAll();
	}