//Top Nav bar script v2.1- http://www.dynamicdrive.com/dynamicindex1/sm/index.htm

function showToolbar()
{
// AddItem(id, text, hint, location, alternativeLocation);
// AddSubItem(idParent, text, hint, location, linktarget);

	menu = new Menu();

	//menu.addItem("homeid", "Home", "Home",  "http://www.tdga.net/", "http://www.tdga.net/");
	menu.addItem("homeid", "Home", "Home",  null, null);	
	menu.addItem("generalinfoid", "General Information", "General Information",  null, null);
	menu.addItem("historyid", "History", "History",  null, null);
	menu.addItem("districtclubid", "District Clubs", "District Clubs",  null, null);
	menu.addItem("tournamentid", "Tournaments", "Tournaments",  null, null);
	menu.addItem("scholarshipid", "Scholarship-Sponsors", "Scholarship and Sponsors",  null, null);
	menu.addItem("linksid", "Web Links", "Useful Links to Other Sites",  null, null);
	menu.addItem("miscid", "Miscellaneous", "Miscellaneous",  null, null);
	
	menu.addSubItem("homeid", "www.tdga.net", "Return to the home page",  "../tdgaPage1.htm", target ="showframe");
	
	menu.addSubItem("generalinfoid", "Executive Officers", "President and Staff",  "../General Information/executiveOfficers.asp?executiveOfficers=executiveOfficers.htm", target ="showframe");
	menu.addSubItem("generalinfoid", "Membership Registration", "Membership Registration",  "../coming soon.htm", target ="showframe");
	menu.addSubItem("generalinfoid", "Mission Statement", "Purpose of the TDGA",  "../General Information/purpose.asp?purpose=purpose.htm", target ="showframe");
	
	menu.addSubItem("historyid", "Past Presidents", "Past Presidents",  "../History/pastPresidents.asp?pastPresidents=PastPresidents.htm", target ="showframe");
	
	//menu.addSubItem("districtclubid", "Vital Information", "Address, Phone Number and Directions",  "../District Clubs/DistrictClubInformation.htm", target ="showframe");
	menu.addSubItem("districtclubid", "Vital Information", "Address, Phone Number and Directions",  "../District Clubs/DistrictClubInformation.asp", target ="showframe");
	//menu.addSubItem("districtclubid", "Par, Rating and Slope", "Par, Rating and U.S.G.A. Slope",  "../District Clubs/CourseParRatingSlope.jpg", target ="showframe");
	menu.addSubItem("districtclubid", "Par, Rating and Slope", "Par, Rating and U.S.G.A. Slope",  "../District Clubs/CourseParRatingSlope.asp", target ="showframe");
	
	//menu.addSubItem("tournamentid", "Rules and Policies", "Slow Play, Handicap Verification, Dress Code, Cell Phones and Beepers",  "../coming soon.htm", target ="showframe");
menu.addSubItem("tournamentid", "Schedule", "Schedule Including Format, Entry Forms, Directions, Tee Times and Results",  "../Tournaments/tournamentSchedule.asp", target ="showframe");
menu.addSubItem("tournamentid", "Last Year's Winners", "Winners from last year",  "../Tournaments/lastYearsWinners.asp?lastYearsWinners=lastYearsWinners.htm", target ="showframe");
menu.addSubItem("tournamentid", "Winter Schedule Only", "Winter Schedule Only",  "../Tournaments/TdgaWinterTournaments.htm", target ="showframe");
menu.addSubItem("tournamentid", "Photos", "Photos",  "../Tournaments/tournamentsPhotos.htm", target ="showframe");
	//menu.addSubItem("tournamentid", "Schedule", "2004 Schedule",  "../Tournaments/tdga summer schedule 2004.htm", target ="showframe");
	//menu.addSubItem("tournamentid", "Details", "Unique Details For Each Tournament",  "../coming soon.htm", target ="showframe");
	//menu.addSubItem("tournamentid", "Entry Forms", "Entry Forms",  "../coming soon.htm", target ="showframe");
	//menu.addSubItem("tournamentid", "Tee Times", "Tee Times",  "../coming soon.htm", target ="showframe");
	//menu.addSubItem("tournamentid", "Results", "Results",  "../Tournaments/tournamentResults.asp", target ="showframe");
//menu.addSubItem("tournamentid", "Photos", "Photos",  "../Tournaments/photo_test.htm", target ="showframe");
	

	menu.addSubItem("scholarshipid", "Scholarship Application", "Scholarship Application Form",  "../Scholarship/TDGAScholarshipform.asp?TDGAScholarshipform=TDGAScholarshipform.htm", target ="showframe");
	menu.addSubItem("scholarshipid", "Scholarship Winners", "Scholarship Winners",  "../Scholarship/TDGAScholarshipWinners.asp?TDGAScholarshipWinners=TDGAScholarshipWinners.htm", target ="showframe");
	menu.addSubItem("scholarshipid", "Sponsors", "Sponsors",  "../Scholarship/TDGASponsors.asp?TDGASponsors=TDGASponsors.htm", target ="showframe");
	
	menu.addSubItem("linksid", "TDGA Clubs", "District Clubs",  "../WebLinks/webLinksDistrictClubs.asp", target ="showframe");
	menu.addSubItem("linksid", "Other Useful Links", "Other golf associations, Weather.com and ESPN",  "../WebLinks/webLinksOtherUsefulLinks.asp", target ="showframe");
	//menu.addSubItem("linksid", "Golf Association Of Philadelphia", "Golf Association Of Philadelphia",  "http://www.gapgolf.org", "_blank");
	//menu.addSubItem("linksid", "Metropolitan Golf Association", "Metropolitan Golf Association", "http://www.mgagolf.org", "_blank");
	//menu.addSubItem("linksid", "New Jersey State Golf Association", "New Jersey State Golf Association",  "http://www.njsga.org", "_blank");
	//menu.addSubItem("linksid", "United States Golf Association", "United States Golf Association", "http://www.usga.org", "_blank");
	//menu.addSubItem("linksid", "Weather.com", "Trenton, NJ local weather report",  "http://www.weather.com/weather/local/08628?lswe=08628", "_blank");
	//menu.addSubItem("linksid", "ESPN Golf", "ESPN Golf",  "http://sports.espn.go.com/golf/index", "_blank");
	
	
	menu.addSubItem("miscid", "Upload", "Upload Authorized Files",  "../tdgaLogin.asp", target ="showframe");
	
	menu.showMenu();
}
