	// 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, 0, 0, DropDown.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("- UFC Schedule", "#");
		menu1.addItem("- Play & Win", "#");
		menu1.addItem("- Subscriptions", "#");
		//==================================================================================================
		
		// SubMenu --> UFC Schedule
		var subMenu1 = menu1.addMenu(menu1.items[0]);
		subMenu1.addItem("\u2022 Pay per View", "#");
		subMenu1.addItem("\u2022 Television", "#");
		subMenu1.addItem("\u2022 Appearance", "#");
		
		// SubMenu --> Finance Commission
		var subMenu1 = menu1.addMenu(menu1.items[1]);
		subMenu1.addItem("\u2022 UFC Fantasy", "#");
		subMenu1.addItem("\u2022 Sweepstakes", "#");
		
		// SubMenu --> Board of Assessors
		var subMenu1 = menu1.addMenu(menu1.items[2]);
		subMenu1.addItem("\u2022 Ring Tones", "#");
		subMenu1.addItem("\u2022 Web Cast", "#");
		subMenu1.addItem("\u2022 Newsletter", "#");
*/
		//==================================================================================================
		// 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 would3 do theMenu.addMenu(theMenu.items[3])
		//==================================================================================================
		// menu : News

		var menu2 = ms.addMenu(document.getElementById("menu2"));
		menu2.addItem("- Main News", "index.php"); // send no URL if nothing should happen onclick
		menu2.addItem("- Media Coverage", "#");
		menu2.addItem("- Rhinos Blog", "#");
		menu2.addItem("- Archived News", "#");
	
		
//		alert(menu2);
		
		//==================================================================================================
		// 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.
		//==================================================================================================

		// menu for The Team
		var menu3 = ms.addMenu(document.getElementById("menu3"));
		menu3.addItem("- Roster", "roster1.php?p=roster");
		menu3.addItem("- Depth Chart", "roster1.php?p=depth_chart");
		menu3.addItem("- Injury Report", "roster1.php?p=injury_report");
		menu3.addItem("- Coaches", "roster1.php?p=coaches");
		menu3.addItem("- Team Stats", "roster1.php?p=team_stats");
		

		// menu for History
		var menu4 = ms.addMenu(document.getElementById("menu4"));
		menu4.addItem("- 2007 History", "history.php?p=2007");
		menu4.addItem("- 2006 History", "history.php?p=2006");
		menu4.addItem("- 2005 History", "history.php?p=2005");
		menu4.addItem("- 2004 History", "history.php?p=2004");
		menu4.addItem("- 2003 History", "history.php?p=2003");
		menu4.addItem("- 2002 History", "history.php?p=2002");
		menu4.addItem("- 2001 History", "history.php?p=2001");
		menu4.addItem("- 2000 History", "history.php?p=2000");
		
		// menu for Community
		var menu5 = ms.addMenu(document.getElementById("menu5"));
		menu5.addItem("- Events", "community.php");
		menu5.addItem("- Foundation", "#");		
		menu5.addItem("- Calender", "#");				

		// menu for Fans
		var menu6 = ms.addMenu(document.getElementById("menu6"));
		menu6.addItem("- Rhinos", "#");
		menu6.addItem("- The Kids", "");		
		menu6.addItem("- Fanatical Fans", "#");				
		
		
		// menu for Cheerleaders
		var menu7 = ms.addMenu(document.getElementById("menu7"));
		menu7.addItem("- The Rhinestones ", "cheerleaders.php");
		menu7.addItem("- Bios", "cheerbio.php");
		
		// menu for Tickets
		var menu8 = ms.addMenu(document.getElementById("menu8"));
		menu8.addItem("- Season Tickets", "tickets.php?p=stickets");
		menu8.addItem("- Gate Prices", "tickets.php?p=gprice");
		
		// menu for Stadium
		var menu9 = ms.addMenu(document.getElementById("menu9"));
		menu9.addItem("- Parking + Directions", "#");	
		menu9.addItem("- Seating Information", "#");
		menu9.addItem("- Luxury Seats", "#");
		menu9.addItem("- Feild + Locker Room", "#");
							
/*
		// menu for Links
		var menu9 = ms.addMenu(document.getElementById("menu9"));
*/		



		DropDown.renderAll();
	}
