	// 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()) {

		//==================================================================================================
		// 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 TransMenuSet(TransMenu.direction.down, -1, -5, TransMenu.reference.bottomLeft);

		//==================================================================================================
		// create a dropdown menu    1-0
		//==================================================================================================
		// the first parameter should be the HTML element which will act actuator for the menu
		
		//==================================================================================================
		//==================================================================================================
		var menu1 = ms.addMenu(document.getElementById("games"));
		menu1.addItem("Create League", "/members/createleague.htm");
		menu1.addItem("Join League", "/members/join.htm");
		menu1.addItem("My Leagues", "/members/leagues.htm");
				
		//==================================================================================================
		//==================================================================================================
		var menu2 = ms.addMenu(document.getElementById("racingnews"));
		menu2.addItem("Mad Max Busch League", "");
		menu2.addItem("Gotcha Racing League", "");
		menu2.addItem("Junior Racing", "");
		menu2.addItem("Red Neck Racing", "");
		//==================================================================================================
		//==================================================================================================
		var menu3 = ms.addMenu(document.getElementById("leagues"));
		menu3.addItem("My Account", "/members/myaccount.htm");
		menu3.addItem("Create an account", "/register.htm");
		menu3.addItem("Sign In", "/members/signin.htm");
		//==================================================================================================
		//==================================================================================================
		var menu4 = ms.addMenu(document.getElementById("myaccount"));
		menu4.addItem("My Account", "/members/myaccount.htm");
		menu4.addItem("Create an account", "/register.htm");
		menu4.addItem("Sign In", "/members/signin.htm");
		//==================================================================================================
		//==================================================================================================
		var menu5 = ms.addMenu(document.getElementById("smacktalk"));
		menu5.addItem("SmackTalk", "/members/smacktalk.htm");
		menu5.addItem("Mad Max Busch League", "/messageboard.htm");
		menu5.addItem("Gotcha Racing League", "");
		menu5.addItem("Junior Racing", "");
		menu5.addItem("Red Neck Racing", "");
		//==================================================================================================
		//==================================================================================================
		var menu6 = ms.addMenu(document.getElementById("officalrules"));
		menu6.addItem("Offical Rules", "/officalrules.htm");
		menu6.addItem("Pick'em", "/pickem/pickem_race_rules.htm");
		menu6.addItem("Salary Cap", "/salarycap/salarycap_race_rules.htm");
		//==================================================================================================
		//==================================================================================================
		var menu7 = ms.addMenu(document.getElementById("help"));
		menu7.addItem("Help", "/help.htm");
		menu7.addItem("Register", "/register.htm");
		menu7.addItem("About VLR", "/aboutvlr.htm");
		menu7.addItem("Contact VLR", "/contactvlr.htm");
		menu7.addItem("Privacy Policy", "/privacy.htm");
		menu7.addItem("Terms of Service", "/terms.htm");
		menu7.addItem("Help Glossary", "");
		menu7.addItem("Get a Real Browser - FireFox", "http://www.firefox.com/");
		//
		//
		//var menu8 = ms.addMenu(document.getElementById("raceinfo"));
		//menu8.addItem("Race line UP", "/members/raceinfo/lineup.htm");
		//menu8.addItem("Qualify Order", "/members/raceinfo/qualify.htm");
		//menu8.addItem("Unoffical Results", "/members/raceinfo/unofficalresults.htm");
		//menu8.addItem("Standings", "/members/raceinfo/standings.htm");
		//menu8.addItem("-------------------------------", "");
		//menu8.addItem("Nascar Driver's Salary", "/salarycap/nascardriverssalary.htm");
		//menu8.addItem("Busch Driver's Salary", "/salarycap/buschdriverssalary.htm");
		//menu8.addItem("Truck Driver's Salary", "/salarycap/truckdriverssalary.htm");
		
		
		//==================================================================================================
		//
		// 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();
	}