﻿	// 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, -5, 5, 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("nav_top_1"));
		menu1.addItem("Tour Profile", "/AboutUs.asp"); 
		menu1.addItem("Fast Facts", "/AboutUs.asp?page=FastFacts.ssi"); 
		menu1.addItem("Management & Staff", "/AboutUs.asp?page=Staff.ssi"); 
		menu1.addItem("About Duramed", "/AboutUs.asp?page=Duramed.ssi"); 
		menu1.addItem("Qualifying Information", "/AboutUs.asp?page=Qualifying.ssi"); 
		menu1.addItem("Hosting An Event", "/AboutUs.asp?page=Hosting.ssi"); 
		menu1.addItem("Employment", "/AboutUs.asp?page=Employment.ssi"); 
		menu1.addItem("Official Tour Partners", "/AboutUs.asp?page=Partners.ssi");
		menu1.addItem("&raquo;Florida's Natural", "/Entertainment/FloridasNatural.asp");
		menu1.addItem("&raquo;Women's Dermatologic", "/Entertainment/WDS.asp"); 

		//==================================================================================================

		//==================================================================================================
		var menu2 = ms.addMenu(document.getElementById("nav_top_2"));
		menu2.addItem("2010 Schedule", "/2010Tournaments.asp");
		menu2.addItem("2009 Schedule", "/2009Tournaments.asp");
		menu2.addItem("2008 Schedule", "/2008Tournaments.asp");
		menu2.addItem("2007 Schedule", "/2007Tournaments.asp");
		menu2.addItem("2006 Schedule", "/2006Tournaments.asp");
		menu2.addItem("2005 Schedule", "/2005Tournaments.asp");

		//==================================================================================================

		//==================================================================================================
		var menu3 = ms.addMenu(document.getElementById("nav_top_3"));
		menu3.addItem("2010 Players","/Players.asp");
		menu3.addItem("Race for the Card","/Top10.asp");
		menu3.addItem("Qualifying", "/Players.asp?page=Qualifying.ssi"); 
		menu3.addItem("Tour Awards","/Players.asp?page=TourAwards.ssi");
		menu3.addItem("Former Players","/FormerPlayers.asp");
		menu3.addItem("College Corner","/Players.asp?page=CollegeCorner.ssi");
		
		//==================================================================================================

		//==================================================================================================
		var menu4 = ms.addMenu(document.getElementById("nav_top_4"));
		menu4.addItem("Current Money Leaders", "/Stats/Statistics.asp");
		menu4.addItem("Rookie of the Year", "/Stats/Rookie.asp");
		menu4.addItem("Statistical Leaders", "/Stats/StatLeaders.asp");
		menu4.addItem("Career Money Leaders", "/Stats/CareerMoney.asp");
		menu4.addItem("Tournament Winners", "/Stats/Winners.asp");
		menu4.addItem("Playoff Records", "/Stats/PlayoffRecords.asp");
		menu4.addItem("Records & Archives", "/Stats/StatisticalArchives.asp");

		//==================================================================================================

		//==================================================================================================
		var menu5 = ms.addMenu(document.getElementById("nav_top_5"));
		menu5.addItem("Press Releases", "/NewsRoom.asp?page=PressReleases.ssi");
		menu5.addItem("Weekly News Releases", "/NewsRoom.asp?page=WeeklyReleases.ssi");
		menu5.addItem("News Room Archives", "/NewsRoom.asp?page=PressReleases2008.ssi");
		menu5.addItem("Tour Features", "/NewsRoom.asp?page=NewsFeatures.ssi");
		menu5.addItem("Mickey's Blogs", "/NewsRoom.asp?page=Blogs/MickeysBlogs.ssi");

		//==================================================================================================
		var menu6 = ms.addMenu(document.getElementById("nav_top_6"));
		menu6.addItem("About the LPGA", "/LPGA.asp");
		menu6.addItem("Alumnae News", "/LPGA.asp?page=AlumnaeNews.ssi");
		menu6.addItem("Tour Alumnae", "/LPGA.asp?page=Alumnae.ssi");
		menu6.addItem("Alumnae Wins", "/LPGA.asp?page=AlumnaeWins.ssi");
		menu6.addItem("Visit LPGA.com", "http://www.lpga.com/");

//==================================================================================================
		var menu7 = ms.addMenu(document.getElementById("nav_top_7"));
		menu7.addItem("e-Site Home", "/Entertainment/");
		menu7.addItem("A Quick 18", "/Entertainment/Quick18.asp");
		menu7.addItem("Ask A Player", "/Entertainment/AskAPlayer.asp");
		menu7.addItem("Eve N. Par", "/Entertainment/EveNPar.asp");
		menu7.addItem("Fan Zone", "/Entertainment/FanZone.asp");
		menu7.addItem("Fitness Tips", "/Entertainment/FitnessTips.asp");
		menu7.addItem("Outside The Ropes", "/Entertainment/OutsideTheRopes.asp");
		menu7.addItem("Photo Gallery", "/Entertainment/PhotoGallery.asp");
		menu7.addItem("Podcasts", "/Entertainment/Podcasts.asp");
		menu7.addItem("Tour Blogs", "/Entertainment/Blogs.asp");
		menu7.addItem("Video Archives", "/Video/PlayerVideos.asp");
		menu7.addItem("E-Archives", "/Entertainment/Archives.asp?page=Archives.ssi");

//==================================================================================================
		// 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();
	}