//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("general", "General", "General",  null, null);
	menu.addItem("provincial", "Provincial MX", "Provincial MX",  null, null);
	menu.addItem("soab", "SOAB MX", "SOAB MX",  null, null);
	menu.addItem("ice", "Ice Racing", "Ice Racing",  null, null);
	menu.addItem("arena", "Arenacross", "Arenacross",  null, null);
	menu.addItem("hare", "HS/CC/Endurocross", "HS/CC/Endurocross",  null, null);
	menu.addItem("atv", "ATV Triple Crown Series", "ATV Triple Crown Series",  null, null);

	menu.addSubItem("general", "Home", "Home",  "index.html", "");
	menu.addSubItem("general", "2010 Schedule", "2010 Schedule",  "schedule2010.htm", "_blank");
	menu.addSubItem("general", "Contact List", "Contact List",  "contact.htm", "");
	menu.addSubItem("general", "ADRA Club Reps", "ADRA Club Reps",  "reps.htm", "_blank");
	menu.addSubItem("general", "Links", "Links",  "mxlinks.htm", "");
	menu.addSubItem("general", "Notices", "Notices",  "gennews.htm", "");
	menu.addSubItem("general", "Referee Contacts", "Referee Contacts",  "refcontact.htm", "");
	menu.addSubItem("general", "AD&D Insurance Info", "AD&D Insurance Info",  "ins.htm", "");
	menu.addSubItem("general", "CMRC License Application", "CMRC License Application",  "license.htm", "");
	menu.addSubItem("general", "Classified Ads", "Classified Ads",  "classified.htm", "");
	menu.addSubItem("general", "Weather Update", "Weather Update",  "http://www.theweathernetwork.com", "_blank");
	menu.addSubItem("general", "Advertising Rates", "Advertising Rates",  "adrates.htm", "");
	menu.addSubItem("general", "Race Entry Form", "Race Entry Form",  "raceentry.htm", "");
	menu.addSubItem("general", "Event Evaluation", "Event Evaluation",  "eventevaluation.htm", "");

	menu.addSubItem("provincial", "2010 Schedule", "2010 Schedule",  "schedule2010.htm", "_blank");
	menu.addSubItem("provincial", "Upcoming Events", "Upcoming Events",  "mxevents.htm", "");
	menu.addSubItem("provincial", "News", "News",  "mxnews.htm", "");
	menu.addSubItem("provincial", "Lap Scorers", "Lap Scorers",  "mxlap.htm", "");
	menu.addSubItem("provincial", "Competition Rules", "Competition Rules",  "2007rulebook.htm", "");
	menu.addSubItem("provincial", "ADRA Amended Rules", "ADRA Amended Rules", "amendrules.htm", "");
	menu.addSubItem("provincial", "Track Info", "Track Info",  "mxinfo.htm", "");
	menu.addSubItem("provincial", "Results", "Results",  "http://www.cmrcracing.com/index.php?option=com_content&view=article&id=1145&Itemid=578","_blank");
	menu.addSubItem("provincial", "Race Cancellation Policy", "Race Cancellation Policy",  "cancel.htm", "");
	menu.addSubItem("provincial", "Schools", "Schools",  "schools.htm", "");
	menu.addSubItem("provincial", "CMRC License Application", "CMRC License Application",  "license.htm", "");
	menu.addSubItem("provincial", "Provincial Race Day Times and Fees", "Provincial Race Day Times and Fees",  "timefees2008.htm", "");
	menu.addSubItem("provincial", "Provincial Race Day Schedule A", "Provincial Race Day Schedule A",  "racedayschedulea2008.htm", "");
	menu.addSubItem("provincial", "Provincial Race Day Schedule B", "Provincial Race Day Schedule B",  "racedayscheduleb2008.htm", "");
	menu.addSubItem("provincial", "Provincial MX Series Winners", "Provincial MX Series Winners",  "mxwinners09.htm", "");
	menu.addSubItem("provincial", "Event Evaluation", "Event Evaluation",  "eventevaluation.htm", "");
	menu.addSubItem("provincial", "2009 Provincial MX Awards Banquet Photos", "2009 Provincial MX Awards Banquet Photos",  "2009provmx.htm", "");
	menu.addSubItem("provincial", "2009 MX AGM Minutes", "2009 MX AGM Minutes",  "mx2009minutes.htm", "");

	menu.addSubItem("soab", "2010 Schedule", "2010 Schedule",  "schedule2010.htm", "_blank");
	menu.addSubItem("soab", "Upcoming Events", "Upcoming Events",  "soabevents.htm", "");
	menu.addSubItem("soab", "News", "News",  "soabnews.htm", "");
	menu.addSubItem("soab", "Lap Scorers", "Lap Scorers",  "lap.htm", "");
	menu.addSubItem("soab", "Competition Rules", "Competition Rules",  "2007rulebook.htm", "");
	menu.addSubItem("soab", "ADRA Amended Rules", "ADRA Amended Rules", "amendrules.htm", "");
	menu.addSubItem("soab", "Track Info", "Track Info",  "soabinfo.htm", "");
	menu.addSubItem("soab", "Results", "Results",  "http://www.cmrcracing.com/index.php?option=com_content&view=article&id=1145&Itemid=578", "_blank");
	menu.addSubItem("soab", "Race Cancellation Policy", "Race Cancellation Policy",  "cancel.htm", "");
	menu.addSubItem("soab", "Schools", "Schools",  "schools.htm", "");
	menu.addSubItem("soab", "CMRC License Application", "CMRC License Application",  "license.htm", "");
	menu.addSubItem("soab", "SOAB Times and Fees", "SOAB Times and Fees",  "soabtimesfees.htm", "");
	menu.addSubItem("soab", "SOAB Race Day Schedule A", "SOAB Race Day Schedule A",  "soabschedulea.htm", "");
	menu.addSubItem("soab", "SOAB Race Day Schedule B", "SOAB Race Day Schedule B",  "soabscheduleb.htm", "");
	menu.addSubItem("soab", "SOAB Spring MX Series Winners", "SOAB Spring MX Series Winners",  "soabwinners09.htm", "");
	menu.addSubItem("soab", "SOAB Fall MX Series Winners", "SOAB Fall MX Series Winners",  "soabwinnersfall09.htm", "");
	menu.addSubItem("soab", "Event Evaluation", "Event Evaluation",  "eventevaluation.htm", "");
	menu.addSubItem("soab", "2009 MX AGM Minutes", "2009 MX AGM Minutes",  "mx2009minutes.htm", "");

	menu.addSubItem("ice", "2010 Schedule", "2010 Schedule",  "schedule2010.htm", "_blank");
	menu.addSubItem("ice", "Upcoming Events", "Upcoming Events",  "iceevents.htm", "");
	menu.addSubItem("ice", "News", "News", "icenews.htm", "");
	menu.addSubItem("ice", "2010 Ice Rules", "2010 Ice Rules",  "icerules.htm", "");
	menu.addSubItem("ice", "Electronic Results", "Electronic Results",  "http://www.mylaps.com", "_blank");
	menu.addSubItem("ice", "Track Info", "Track Info",  "iceinfo.htm", "");
	menu.addSubItem("ice", "CMRC License Application", "CMRC License Application",  "license.htm", "");
	menu.addSubItem("ice", "Event Evaluation", "Event Evaluation",  "eventevaluation.htm", "");
	menu.addSubItem("ice", "2010 Ice Racing Results", "2010 Ice Racing Results",  "iceresults.htm", "");


	menu.addSubItem("arena", "2010 Schedule", "2010 Schedule",  "schedule2010.htm", "_blank");
	menu.addSubItem("arena", "Upcoming Events", "Upcoming Events",  "arenaevents.htm", "");
	menu.addSubItem("arena", "News", "News",  "arenanews.htm", "");
	menu.addSubItem("arena", "Track Info", "Track Info",  "trackinfo.htm", "");
	menu.addSubItem("arena", "Race Cancel Policy", "Race Cancel Policy",  "cancel.htm", "");
	menu.addSubItem("arena", "Schools", "Schools",  "schools.htm", "");
	menu.addSubItem("arena", "CMRC License Application", "CMRC License Application",  "license.htm", "");
	menu.addSubItem("arena", "2009 Winners", "2009 Winners",  "2009aacwinners.htm", "");
	menu.addSubItem("arena", "Event Evaluation", "Event Evaluation",  "eventevaluation.htm", "");
	
	menu.addSubItem("hare", "2010 Schedule", "2010 Schedule",  "schedule2010.htm", "_blank");
	menu.addSubItem("hare", "Upcoming Events", "Upcoming Events",  "hareevents.htm", "");
	menu.addSubItem("hare", "News", "News",  "harenews.htm", "");
	menu.addSubItem("hare", "Off Road Rules", "Off Road Rules",  "offroad_rules.htm", "");
	menu.addSubItem("hare", "Track Info", "Track Info",  "hareinfo.htm", "");
	menu.addSubItem("hare", "Off Road Mission Statement", "Off Road Mission Statement",  "offroadmission.htm", "");
	menu.addSubItem("hare", "Off Road Code of Ethics", "Off Road Code of Ethics",  "offroadcode.htm", "");
	menu.addSubItem("hare", "CMRC License Application", "CMRC License Application",  "license.htm", "");
	menu.addSubItem("hare", "2010 AB Prov. Off Road Series Format", "2010 AB Prov. Off Road Series Format",  "offroad_format.htm", "");
	menu.addSubItem("hare", "Results", "Results",  "http://www.cmrcracing.com/index.php?option=com_content&view=article&id=1145&Itemid=578", "_blank");
	menu.addSubItem("hare", "Off Road Media Corresp.", "Off Road Media Corresp.",  "media.htm", "");
	menu.addSubItem("hare", "Off Road Times and Fees", "Off Road Times and Fees",  "hscc_racetimes.htm", "");
	menu.addSubItem("hare", "Endurocross Guidelines", "Endurocross Guidelines",  "enduroguidelines.htm", "");
	menu.addSubItem("hare", "Bar Code Scanner Sponsors", "Bar Code Scanner Sponsors",  "barcode.htm", "");
	menu.addSubItem("hare", "2010 Bar Code Scanner Results", "2010 Bar Code Scanner Results",  "barcoderesults.htm", "");
	menu.addSubItem("hare", "2008 Off Road AGM Minutes", "2008 Off Road AGM Minutes",  "offroad_minutes.htm", "");
	menu.addSubItem("hare", "Event Evaluation", "Event Evaluation",  "eventevaluation.htm", "");
	menu.addSubItem("hare", "2009 Porcupine Hills CC Photos", "2009 Porcupine Hills CC Photos",  "porc2009.htm", "");
	menu.addSubItem("hare", "2009 Homestead EX Photos", "2009 Homestead EX Photos",  "endurophoto2009.htm", "");
	menu.addSubItem("hare", "2009 Alexander Flynn Memorial HS Photos", "2009 Alexander Flynn Memorial HS Photos",  "alexphotos2009.htm", "");
	menu.addSubItem("hare", "Prov. Off Road Champ.", "Prov. Off Road Champ.",  "offroadwinners09.htm", "");
	menu.addSubItem("hare", "Important Notices", "Important Notices", "offroadnotices.htm", "");
	menu.addSubItem("hare", "CEC Updates/Information", "CEC Updates/Information", "cecinfo.htm", "");

	menu.addSubItem("atv", "2010 Schedule", "2010 Schedule",  "schedule2010.htm", "_blank");
	menu.addSubItem("atv", "Upcoming Events", "Upcoming Events",  "atvevents.htm", "");
	menu.addSubItem("atv", "News", "News",  "atvnews.htm", "");
	menu.addSubItem("atv", "CMRC License Application", "CMRC License Application",  "license.htm", "");
	menu.addSubItem("atv", "ATV Rules", "ATV Rules", "atvrules.htm", "");
	menu.addSubItem("atv", "ATV Race Schedule", "ATV Race Schedule", "atvschedule.htm", "");
	


	menu.showMenu();
}
