// 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, 0, 1, TransMenu.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("home"));
			menu1.addItem("Cloverdalerodeo.com", "http://www.cloverdalerodeo.com"); 

		//==================================================================================================

		//==================================================================================================
		var menu2 = ms.addMenu(document.getElementById("rodeo"));
			menu2.addItem("Rodeo Event Information","../files/rodeo.php");
			menu2.addItem("Rodeo Ticket Information","../files/tickets.php");
			menu2.addItem("Rodeo Performance Schedule","../files/rodeo-performance-schedule.php");
			menu2.addItem("Rodeo Contestants", "../files/competitors-list.php");			
			menu2.addItem("Rodeo Specialty Performer","../files/rodeo-specialty-performer.php");
			menu2.addItem("Rodeo Officials","../files/rodeo-officials.php");	
			menu2.addItem("Rodeo Contestant/Officials Parking","../files/Rodeo-Contestant-Parking.php");		
			menu2.addItem("Rodeo Results","../files/results.php");				
			menu2.addItem("Rodeo Corporate Hospitality","../files/corporate-hospitality.php");
			menu2.addItem("Mutton Bustin'", "../files/mutton-bustin.php");	
			menu2.addItem("Sponsors &amp; Links","../files/sponsors-rodeo.php");			
			menu2.addItem("History","../files/history.php");
			menu2.addItem("Photo Gallery","../gallery/");			
			


		//==================================================================================================

		//==================================================================================================
		var menu3 = ms.addMenu(document.getElementById("countryfair"));

			menu3.addItem("Event &amp; Ticket Information","../files/country-fair.php");
			menu3.addItem("Outdoor Entertainment Stage","../files/outdoor-entertainment-stage.php");
			menu3.addItem("Featured Events","../files/featured-events.php");			
			menu3.addItem("Desi Mela","../files/desi-mela.php");
			menu3.addItem("Midway & Rides","../files/midway.php");
			menu3.addItem("Agri Zone","../files/agricultural-exhibits.php");
			menu3.addItem("Art Zone","../files/art-zone.php");
			menu3.addItem("Kidz Zone","../files/kids-zone.php");
			//menu3.addItem("HouseSmart Country","../files/housesmart.php");
			//menu3.addItem("Agri-Science Fair","../files/agri-science-fair.php");
			menu3.addItem("Trade Show","../files/trade-show.php");
			//menu3.addItem("Prize Book","../files/prize-book.php");
			menu3.addItem("Parade Information","../files/parade-info.php");
			menu3.addItem("Bed Races","../files/bed-races.php");
			menu3.addItem("Sponsors &amp; Links","../files/sponsors-countryfair.php");


		//==================================================================================================

		//==================================================================================================
		var menu4 = ms.addMenu(document.getElementById("saloons"));
			//menu4.addItem("Saloons &amp; Concerts","../files/saloons-concerts.php");
			menu4.addItem("World-Famous Longhorn Saloon","../files/saloons-concerts.php");			
			menu4.addItem("54-40 Kick-Off Party","../files/54-40_Kick-Off_Party.php");			
			menu4.addItem("Free Ridley Bent Concert","../files/Free_Ridley_Bent_Concert.php");			
			menu4.addItem("Desi Mela","../files/desi-mela.php");
			//menu4.addItem("BC Talent Search","../files/BCTalentSearch.php");

		//==================================================================================================

		//==================================================================================================
		var menu5 = ms.addMenu(document.getElementById("directions"));
			menu5.addItem("Area Map","../files/directions.php");
			menu5.addItem("Driving Directions","../files/driving-directions.php");
			menu5.addItem("Take Transit","../files/take-transit.php"); 
			menu5.addItem("Parking","../files/parking.php");
			menu5.addItem("Host Hotel","../files/host-hotel.php");
			menu5.addItem("Local Accommodations","../files/hotels-motels.php");
			
		var submenu0 = menu5.addMenu(menu5.items[5]);

			submenu0.addItem("Hotels &amp; Motels","../files/hotels-motels.php");
			submenu0.addItem("Bed &amp; Breakfast","../files/bed-breakfast.php");
			submenu0.addItem("Campgrounds &amp; RV Parks","../files/campgrounds.php");
			
		//==================================================================================================

		//==================================================================================================
		var menu6 = ms.addMenu(document.getElementById("whatson"));
			menu6.addItem("Events Calendar", "../calendar/index2.php");


			
		//==================================================================================================

		//==================================================================================================
		var menu7 = ms.addMenu(document.getElementById("facilities"));
			menu7.addItem("Facilities","../files/facilities.php");
			menu7.addItem("Agriplex","../files/agriplex.php");
			menu7.addItem("Alice McKay Building","../files/alice-mckay.php");
			menu7.addItem("Amphitheatre","../files/amphitheatre.php");
			menu7.addItem("Board Room","../files/board-room.php");
			menu7.addItem("Main Entrance","../files/main-entrance.php");
			menu7.addItem("Shannon Hall","../files/shannon-hall.php");
			menu7.addItem("Show Barn","../files/show-barn.php");
			menu7.addItem("Stetson Bowl","../files/stetson-bowl.php");
			menu7.addItem("Cover All","../files/cover-all.php");




		//==================================================================================================

		//==================================================================================================
		var menu8 = ms.addMenu(document.getElementById("association"));
			menu8.addItem("Association", "../files/association.php");
			menu8.addItem("Board Of Directors","../files/board-of-directors.php");
			menu8.addItem("Staff","../files/staff.php");
			menu8.addItem("History","../files/history.php");
			menu8.addItem("Membership","../files/membership.php");
			menu8.addItem("Volunteers","../files/volunteers.php");
			menu8.addItem("Employment Opportunities","../files/employment-opportunities.php");
			menu8.addItem("Sponsors &amp; Links","../files/sponsors-association.php");

			

		//==================================================================================================

		//==================================================================================================
		var menu9 = ms.addMenu(document.getElementById("media"));
			menu9.addItem("Media Contact","../files/media-contact.php");
			menu9.addItem("News Releases","../files/releases.php");
			menu9.addItem("Media Gallery","../gallery/");

		var submenu0 = menu9.addMenu(menu9.items[1]);

			submenu0.addItem("Archive 2009","../files/releases2009.php");
			//submenu0.addItem("Archive 2008","../files/releases2008.php");
		//==================================================================================================

		//==================================================================================================
		var menu10 = ms.addMenu(document.getElementById("contact"));
			menu10.addItem("Contact", "../files/contact.php");
			
		//==================================================================================================
			
		//==================================================================================================

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