MIT.Cycling.Core.onMenuBarReady = function() {
  
  function onMenuBarBeforeRender(p_sType, p_sArgs, p_oMenu) {	
	var oSubmenuData = {
	  "Home": [
	  { text: "Blog", url: "http://cycling-club.scripts.mit.edu/blog/", target: "_top"},
	  { text: "Gallery", url: "http://cycling-club.scripts.mit.edu/gallery/", target: "_top"}
],
	  "Club": [
	  { text: "Info", url: "http://web.mit.edu/~cycling-club/www/Club/index.shtml", target: "_top"},
	  { text: "FAQ",  url: "http://web.mit.edu/~cycling-club/www/Club/FAQ.shtml", target: "_top"}
	  ],
	  "Racing": [
	  { 
		text: "Roster",  url: "http://web.mit.edu/~cycling-club/www/Roster/2008/index.shtml", target: "_top", submenu: { 
		  id: "Racing.Roster", itemdata: [
	  {text: "2007-2008", url: "http://web.mit.edu/~cycling-club/www/Roster/2008/index.shtml", target: "_top", submenu : {
		  id: "Racing.Roster.2008", itemdata: [
	  {text: "All Riders", url: "http://web.mit.edu/~cycling-club/www/Roster/2008/All.shtml", target: "_top" },
	  {text: "Road Team", url: "http://web.mit.edu/~cycling-club/www/Roster/2008/Road.shtml", target: "_top" },
	  {text: "Cross Team", url: "http://web.mit.edu/~cycling-club/www/Roster/2008/Cross.shtml", target: "_top" },
	  {text: "Track Team", url: "http://web.mit.edu/~cycling-club/www/Roster/2008/Track.shtml", target: "_top" },
	  {text: "Mountain Team", url: "http://web.mit.edu/~cycling-club/www/Roster/2008/Mountain.shtml", target: "_top" },
	  {text: "Officers", url: "http://web.mit.edu/~cycling-club/www/Roster/2008/Officers.shtml", target: "_top" },
	  {text: "Men", url: "http://web.mit.edu/~cycling-club/www/Roster/2008/Men.shtml", target: "_top" },
	  {text: "Women", url: "http://web.mit.edu/~cycling-club/www/Roster/2008/Women.shtml", target: "_top" }
	  ]}
	  },
	  {text: "2006-2007", url: "http://web.mit.edu/~cycling-club/www/Roster/2007/index.shtml", target: "_top"},
	  {text: "2005-2006", url: "http://web.mit.edu/~cycling-club/www/Roster/2006/index.shtml", target: "_top"},
	  {text: "2002-2003", url: "http://web.mit.edu/~cycling-club/www/Roster/2003/index.shtml", target: "_top"}
	    ]}
	  }, 
	  { 
		text: "Race Reports",  url: "http://web.mit.edu/~cycling-club/www/Reports/index.shtml", target: "_top", submenu: { 
		  id: "Racing.Reports", itemdata: 
          [
	  {
		text: "2008", url: "http://web.mit.edu/~cycling-club/www/Reports/2008/index.shtml", target: "_top", submenu: {
		  id: "Racing.Reports.2008", itemdata: [
	  { text: "Der Uno",  url: "http://web.mit.edu/~cycling-club/www/Reports/2008/uno.shtml", target: "_top"},
	  { text: "Penn State",  url: "http://web.mit.edu/~cycling-club/www/Reports/2008/penn.shtml", target: "_top"},
	  { text: "Princeton",  url: "http://web.mit.edu/~cycling-club/www/Reports/2008/princeton.shtml", target: "_top"},
	  { text: "Columbia",  url: "http://web.mit.edu/~cycling-club/www/Reports/2008/columbia.shtml", target: "_top"},
	  { text: "Philly Phyler",  url: "http://web.mit.edu/~cycling-club/www/Reports/2008/philly.shtml", target: "_top"},
	         { text: "Rutgers Classic",  url: "http://web.mit.edu/~cycling-club/www/Reports/2008/rutgers.shtml", target: "_top"}
	       ]}
	  },
	  {
			  text: "2007",  url: "http://web.mit.edu/~cycling-club/www/Reports/2007/index.shtml", target: "_top", submenu: 
			  {
				id: "Racing.Reports.2007", itemdata: [
	  { text: "Cross Wrapup",       url: "http://web.mit.edu/~cycling-club/www/Reports/2007/CrossWrapup.shtml", target: "_top"},
	  { text: "Mock Race",       url: "http://web.mit.edu/~cycling-club/www/Reports/2007/MockRace.shtml", target: "_top"},
	  { text: "Wompatuck Whatchamacallit",       url: "http://web.mit.edu/~cycling-club/www/Reports/2007/Wompy.shtml", target: "_top"},
	  { text: "ECCC Track Nationals Report",       url: "http://web.mit.edu/~cycling-club/www/Reports/2007/ECCCTrack.shtml", target: "_top"},
	  { text: "Track Nationals Report",       url: "http://web.mit.edu/~cycling-club/www/Reports/2007/TrackNats.shtml", target: "_top"},
	  { text: "Road Nationals Report",       url: "http://web.mit.edu/~cycling-club/www/Reports/2007/NationalsWomen.shtml", target: "_top"},
	  { text: "Road Nationals Criterium",       url: "http://web.mit.edu/~cycling-club/www/Reports/2007/NationalsCriterium.shtml", target: "_top"},
	  { text: "Army Road Race - I",       url: "http://web.mit.edu/~cycling-club/www/Reports/2007/Army.shtml", target: "_top"},
	  { text: "Army Road Race - II ",     url: "http://web.mit.edu/~cycling-club/www/Reports/2007/Army2.shtml", target: "_top"},
	  { text: "Bucknell Road Race",       url: "http://web.mit.edu/~cycling-club/www/Reports/2007/Bucknell.shtml", target: "_top"},
	  { text: "Philly Phyler Road Race",  url: "http://web.mit.edu/~cycling-club/www/Reports/2007/Philly.shtml", target: "_top"},
	  { text: "Rutgers Road Race",        url: "http://web.mit.edu/~cycling-club/www/Reports/2007/Rutgers.shtml", target: "_top"}
			  ]}
            },
	        {
			  text: "2006", url: "http://web.mit.edu/~cycling-club/www/Reports/2006/index.shtml", target: "_top", submenu: {
				id: "Racing.Reports.2006", itemdata: [
	  { text: "Cyclocross Nationals - Day 1",  url: "http://web.mit.edu/~cycling-club/www/Reports/2006/Cross_Nationals_Day1.shtml", target: "_top"},
	  { text: "Cyclocross Nationals - Day 2",  url: "http://web.mit.edu/~cycling-club/www/Reports/2006/Cross_Nationals_Day2.shtml", target: "_top"},
	  { text: "UNH Mountain Bike Race",  url: "http://web.mit.edu/~cycling-club/www/Reports/2006/UNH%20MTB.shtml", target: "_top"},
	  { text: "Lehigh Track Trip Part 1",  url: "http://web.mit.edu/~cycling-club/www/Reports/2006/Lehigh-nhg.shtml", target: "_top"},
	  { text: "Lehigh Track Trip Part 2",  url: "http://web.mit.edu/~cycling-club/www/Reports/2006/Lehigh.shtml", target: "_top"},
	  { text: "Road Nationals",  url: "http://web.mit.edu/~cycling-club/www/Press/2006/Nationals.shtml", target: "_top"},
	  { text: "Easterns Road Race - Part 1",  url: "http://web.mit.edu/~cycling-club/www/Reports/2006/Easterns.shtml", target: "_top"},
	  { text: "Easterns Road Race - Part 2",  url: "http://web.mit.edu/~cycling-club/www/Press/2006/Easterns.shtml", target: "_top"},
	  { text: "UVM Road Race",  url: "http://web.mit.edu/~cycling-club/www/Reports/2006/UVM.shtml", target: "_top"},
	  { text: "Beanpot Road Race",  url: "http://web.mit.edu/~cycling-club/www/Reports/2006/Beanpot.shtml", target: "_top"},
	  { text: "Wells Ave Part 1",  url: "http://web.mit.edu/~cycling-club/www/Reports/2006/03_Wells_Sean.shtml", target: "_top"},
	  { text: "Wells Ave Part 2",  url: "http://web.mit.edu/~cycling-club/www/Reports/2006/03_Wells_John.shtml", target: "_top"},
	  { text: "Rutgers Road Race",  url: "http://web.mit.edu/~cycling-club/www/Reports/2006/DDomination.shtml", target: "_top"},
	  { text: "MBTA Doping Scandal",  url: "http://web.mit.edu/~cycling-club/www/Reports/2006/MBTA_Doping.shtml", target: "_top"},
	  { text: "Training Camp",  url: "http://web.mit.edu/~cycling-club/www/Reports/2006/Training.shtml", target: "_top"}
			  ]}
			},
	        {
			  text: "2005", url: "http://web.mit.edu/~cycling-club/www/Reports/2005/index.shtml", target: "_top", submenu: {
				id: "Racing.Reports.2005", itemdata: [
	  { text: "Offseason Report",  url: "http://web.mit.edu/~cycling-club/www/Reports/2005/Skills.shtml", target: "_top"},
	  { text: "Cyclocross Nationals",  url: "http://web.mit.edu/~cycling-club/www/Reports/2005/Cross.shtml", target: "_top"},
	  { text: "Mountain Bike Easterrns",  url: "http://web.mit.edu/~cycling-club/www/Reports/2005/MTB.shtml", target: "_top"},
	  { text: "Road Nationals",  url: "http://web.mit.edu/~cycling-club/www/Reports/2005/Nationals.shtml", target: "_top"},
	  { text: "Easterns Road Race",  url: "http://web.mit.edu/~cycling-club/www/Press/2005/Easterns.shtml", target: "_top"},
	  { text: "Columbia / Princeton",  url: "http://web.mit.edu/~cycling-club/www/Reports/2005/ColumbiaPrinceton.shtml", target: "_top"},
	  { text: "Pagoda Road Race",  url: "http://web.mit.edu/~cycling-club/www/Reports/2005/Pagoda.shtml", target: "_top"},
	  { text: "Rutgers Road Race",  url: "http://web.mit.edu/~cycling-club/www/Reports/2005/Rutgers.pdf", target: "_top"},
	  { text: "Training Camp",  url: "http://web.mit.edu/~cycling-club/www/Reports/2005/Training.shtml", target: "_top"}
              ]}
			},
            {
              text: "2004", url: "http://web.mit.edu/~cycling-club/www/Reports/2004/index.shtml", target: "_top", submenu: {
                id: "Racing.Reports.2004", itemdata: [
	  { text: "Road Nationals",  url: "http://web.mit.edu/~cycling-club/www/Reports/2004/Nationals.shtml", target: "_top"},
	  { text: "Season Wrapup",  url: "http://web.mit.edu/~cycling-club/www/Reports/2004/Season.shtml", target: "_top"},
	  { text: "Easterns Road Race",  url: "http://web.mit.edu/~cycling-club/www/Reports/2004/Easterns.pdf", target: "_top"},
	  { text: "Columbia / Princeton",  url: "http://web.mit.edu/~cycling-club/www/Reports/2004/ColumbiaPrinceton.shtml", target: "_top"},
	  { text: "Penn State Road Race ",  url: "http://web.mit.edu/~cycling-club/www/Reports/2004/PennState.shtml", target: "_top"},
	  { text: "Rutgers Road Race",  url: "http://web.mit.edu/~cycling-club/www/Reports/2004/Rutgers.shtml", target: "_top"}
              ]}
            },
            {
              text: "2003", url: "http://web.mit.edu/~cycling-club/www/Reports/2003/index.shtml", target: "_top", submenu: {
                id: "Racing.Reports.2003", itemdata: [
	  { text: "Wells Ave",  url: "http://web.mit.edu/~cycling-club/www/Reports/2003/06_29_Wells.shtml", target: "_top"},
	  { text: "Whiteface Uphill Race",  url: "http://web.mit.edu/~cycling-club/www/Reports/2003/06_21_Whiteface.shtml", target: "_top"},
	  { text: "Easterns Road Race",  url: "http://web.mit.edu/~cycling-club/www/Reports/2003/Easterns.shtml", target: "_top"},
	  { text: "Army Road Race",  url: "http://web.mit.edu/~cycling-club/www/Reports/2003/Army.shtml", target: "_top"},
	  { text: "Columbia / Princeton",  url: "http://web.mit.edu/~cycling-club/www/Reports/2003/ColumbiaPrinceton.shtml", target: "_top"},
	  { text: "Rutgers Road Race",  url: "http://web.mit.edu/~cycling-club/www/Reports/2003/Rutgers.shtml", target: "_top"}
			  ]}
            }
			]}
	    },
		{ 
          text: "Results", url: "http://web.mit.edu/~cycling-club/www/Results/index.shtml", target: "_top", submenu: {
            id: "Racing.Results", itemdata: [
	  { text: "2008", url: "http://web.mit.edu/~cycling-club/www/Results/2008/index.shtml", target: "_top"},
	  { text: "2007", url: "http://web.mit.edu/~cycling-club/www/Results/2007/index.shtml", target: "_top"},
	  { text: "2006", url: "http://web.mit.edu/~cycling-club/www/Results/2006/index.shtml", target: "_top"},
	  { text: "2005", url: "http://web.mit.edu/~cycling-club/www/Results/2005/index.shtml", target: "_top"},
	  { text: "2004", url: "http://web.mit.edu/~cycling-club/www/Results/2004/index.shtml", target: "_top"},
	  { text: "2003", url: "http://web.mit.edu/~cycling-club/www/Results/2003/index.shtml", target: "_top"},
	  { text: "2002", url: "http://web.mit.edu/~cycling-club/www/Results/2002/index.shtml", target: "_top"},
	  { text: "1999", url: "http://web.mit.edu/~cycling-club/www/Results/1999/index.shtml", target: "_top"},
	  { text: "1998", url: "http://web.mit.edu/~cycling-club/www/Results/1998/index.shtml", target: "_top"}
            ]}
		},		
	  { text: "Beaver Cheer", url: "http://web.mit.edu/~cycling-club/www/Racing/beaver_cheer.shtml", target: "_top"},
	  { text: "Training",     url: "http://web.mit.edu/~cycling-club/www/Racing/training.shtml", target: "_top"},
	  { text: "Coaching",     url: "http://web.mit.edu/~cycling-club/www/Racing/coaching.shtml", target: "_top"},
	  { text: "Clothing",     url: "http://web.mit.edu/~cycling-club/www/clothing.shtml", target: "_top"},
	  { text: "Forms ",       url: "http://web.mit.edu/~cycling-club/www/Racing/forms.shtml", target: "_top"}

	  ],
	"Riding": [
	  { text: "Routes",             url: "http://web.mit.edu/~cycling-club/www/Rides/routes.shtml", target: "_top"},
	  { text: "Cambridge Weather",  url: "http://web.mit.edu/~cycling-club/www/Rides/weather.shtml", target: "_top"},
	  { text: "Ride Guidelines",  url: "http://web.mit.edu/~cycling-club/www/Rides/guidelines.shtml", target: "_top"}
    ],
	"Photos": [


{ text: "2009", url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=10", target: "_top", submenu: { id: "Photos.2008", itemdata: [
	{ text: "Columbia",      url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=9826", target: "_top" },
	{ text: "Princeton/Rutgers",      url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=9675", target: "_top" },
	{ text: "Boston Triathlon Club Indoor TT",      url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=9594", target: "_top" },
      ]}},
{ text: "2008", url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=10", target: "_top", submenu: { id: "Photos.2008", itemdata: [
      { text: "Cross Nationals",      url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=9547", target: "_top" },
      { text: "Sterling Cross",      url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=9258", target: "_top" },
      { text: "Northampton Cross",      url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=8904", target: "_top" },
      { text: "Track Nationals",		url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=12", target: "_top" },
      { text: "Track Coaching",			url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=1012", target: "_top" },
      { text: "Team Photo",				url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=8781", target: "_top" },
      { text: "Road Nationals",			url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=648", target: "_top" },
      { text: "Easterns",				url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=434", target: "_top" },
      { text: "Army",					url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=99", target: "_top" },
      { text: "Beanpot",				url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=158", target: "_top" },
      { text: "Penn State",				url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=690", target: "_top" },
      { text: "Columbia and Princeton", url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=294", target: "_top" },
      { text: "Philly",					url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=730", target: "_top" },
      { text: "Rutgers",				url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=790", target: "_top" },
      { text: "Training Camp",			url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=1062", target: "_top" },
]}},
{ text: "2007", url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=1088", target: "_top", submenu: { id: "Photos.2007", itemdata: [
      { text: "Chainbiter Cross",		url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=7562", target: "_top" },
      { text: "Club Trip",				url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=7619", target: "_top" },
      { text: "Track Nationals",		url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=7679", target: "_top" },
      { text: "Reenstra Ride",			url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=7827", target: "_top" },
      { text: "Road Nationals",			url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=7969", target: "_top" },
      { text: "Team Photo",				url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=8083", target: "_top" },
      { text: "Easterns",				url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=8227", target: "_top" },
      { text: "Army Race Weekend",		url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=8345", target: "_top" },
      { text: "Boston Beanpot",			url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=8377", target: "_top" },
      { text: "Philly Phlyer",			url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=8455", target: "_top" },
      { text: "Rutgers",				url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=8531", target: "_top" },
      { text: "Training Camp",			url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=8733", target: "_top" },
]}},
{ text: "2006",  url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=1090", target: "_top", submenu: { id: "Photos.2006", itemdata: [
      { text: "Cross Nationals",                url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=4500", target: "_top" },
      { text: "Easterns Cross Championships",   url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=7365"},
      { text: "Chainbiter Cyclocross",          url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=4416", target: "_top"},
      { text: "TTT Practice",                   url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=6795", target: "_top"},
      { text: "Wompatuck Whatchmacallit",       url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=7247", target: "_top"},
       { text: "Track Trip",                    url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=6894"},
      { text: "Nationals",                      url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=5182", target: "_top", submenu: { id: "Photos.2006.Nationals", itemdata: [
           { text: "Men's Crit",             url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=5183", target: "_top"},
           { text: "Road Races",             url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=5664"},
           { text: "Team Time Trials",       url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=5877", target: "_top"},
           { text: "Women's Crit",           url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=6063", target: "_top"}
        ]}},
      { text: "Build an ECCC Champion",         url: "http://web.mit.edu/~cycling-club/www/Photos/2006/Make%20Your%20Own/index.shtml"},
      { text: "Easterns",                       url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=4666", target: "_top"},
      { text: "Army",                           url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=4181", target: "_top"},
      { text: "Beanpot",                        url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=4292", target: "_top"},
      { text: "Penn State",                     url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=5078", target: "_top"},
      { text: "UPenn",                          url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=7143", target: "_top"},
      { text: "Rutgers",                        url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=6615", target: "_top"},
      { text: "Wind Tunnel Testing",            url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=7225", target: "_top"},
      { text: "Training Camp",                  url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=7025", target: "_top"}
]}},
{ text: "2005",  url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=1092", submenu: { id: "Photos.2005", itemdata: [
      { text: "Training Camp",					url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=3679", target: "_top"},
      { text: "Weight Lifting",					url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=4057", target: "_top"},
      { text: "Rutgers",						url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=3627", target: "_top"},
      { text: "Penn State Nittney Classic",		url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=3567", target: "_top"},
      { text: "New York Races",					url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=3477", target: "_top"},
      { text: "Bucknell",						url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=3069", target: "_top"},
      { text: "PSU ATP Classic",				url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=3525", target: "_top"},
      { text: "Beanpot",						url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=3025", target: "_top"},
      { text: "Army",							url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=2926", target: "_top"},
      { text: "Easterns",						url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=4103", target: "_top"},
      { text: "UNH Cross",						url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=3744", target: "_top"},
      { text: "Hill Climb Clinic",				url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=3461", target: "_top"},
      { text: "Cross Easterns",					url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=3121", target: "_top"},
      { text: "Cross Nationals",				url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=3343", target: "_top"},
      { text: "Team Photo",						url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=3671", target: "_top"}
]}},
{ text: "2004",  url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=1094", target: "_top", submenu: { id: "Photos.2004", itemdata: [
      { text: "Easterns",		url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=2259", target: "_top" },
      { text: "Army",			url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=2176", target: "_top" },
      { text: "UVM",			url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=2782", target: "_top" },
      { text: "Rutgers",		url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=2405", target: "_top" },
      { text: "Training Camp",	url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=2580", target: "_top" },
      { text: "Fitting",		url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=2381", target: "_top" },
      { text: "Misc",			url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=2557", target: "_top" },

]}},
{ text: "2003",  url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=1096", target: "_top", submenu: { id: "Photos.2003", itemdata: [
      { text: "UMass Mountain Bike Race",		url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=1337", target: "_top"},
      { text: "Williams",						url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=1335", target: "_top"},
      { text: "Road Nationals ",				url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=1336", target: "_top"},
      { text: "Easterns",						url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=1334", target: "_top"},
      { text: "Army",							url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=7484", target: "_top"},
      { text: "Beanpot",						url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=1332", target: "_top"},
      { text: "Columbia",						url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=1331", target: "_top" },
      { text: "UConn",							url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=1330", target: "_top" },
      { text: "Penn State",						url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=1329", target: "_top" },
      { text: "Rutgers",						url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=1328", target: "_top" },
      { text: "Night Ride",						url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=1326", target: "_top" },
      { text: "Misc",							url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=1338", target: "_top" },
      { text: "Wind Tunnel",					url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=1327", target: "_top" },
]}},
{ text: "2002", url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=1098", target: "_top"},
{ text: "2001", url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=1100", target: "_top"},
{ text: "1998", url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=1102", target: "_top"},
{ text: "1997", url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=1104", target: "_top"},
{ text: "1994", url: "http://cycling-club.scripts.mit.edu/gallery/main.php?g2_view=core.ShowItem&g2_itemId=1106", target: "_top"}
],

	"NewsAndEvents": [
	  { text: "News", url: "http://web.mit.edu/~cycling-club/www/News/index.shtml", target: "_top"},
	  { text: "Upcoming Events", url: "http://web.mit.edu/~cycling-club/www/Events/index.shtml", target: "_top"},
	  { text: "Press Coverage",  url: "http://web.mit.edu/~cycling-club/www/Press/index.shtml", target: "_top", submenu: { 
		  id: "NewsAndEvents.Press.", itemdata: [
	  { text: "2008", url: "http://web.mit.edu/~cycling-club/www/Press/2008/index.shtml", target: "_top"},
	  { text: "2007", url: "http://web.mit.edu/~cycling-club/www/Press/2007/index.shtml", target: "_top"},
	  { text: "2006", url: "http://web.mit.edu/~cycling-club/www/Press/2006/index.shtml", target: "_top"},
	  { text: "2005", url: "http://web.mit.edu/~cycling-club/www/Press/2005/index.shtml", target: "_top"},
	  { text: "2004", url: "http://web.mit.edu/~cycling-club/www/Press/2004/index.shtml", target: "_top"},
	  { text: "2003", url: "http://web.mit.edu/~cycling-club/www/Press/2003/index.shtml", target: "_top"},
	  { text: "1997", url: "http://web.mit.edu/~cycling-club/www/Press/1997/index.shtml", target: "_top"},
	  { text: "1994", url: "http://web.mit.edu/~cycling-club/www/Press/1994/index.shtml", target: "_top"},
	  { text: "1993", url: "http://web.mit.edu/~cycling-club/www/Press/1993/index.shtml", target: "_top"},
	  { text: "1992", url: "http://web.mit.edu/~cycling-club/www/Press/1992/index.shtml", target: "_top"},
	  { text: "1991", url: "http://web.mit.edu/~cycling-club/www/Press/1991/index.shtml", target: "_top"},
	  { text: "1989", url: "http://web.mit.edu/~cycling-club/www/Press/1989/index.shtml", target: "_top"}
]}}
],
	"About": [
	  { text: "Contact Us", url: "http://web.mit.edu/~cycling-club/www/contact.shtml", target: "_top"},
	  { text: "Email Lists", url: "http://web.mit.edu/~cycling-club/www/email_lists.shtml", target: "_top"},
	  { text: "Officers", url: "http://web.mit.edu/~cycling-club/www/officers.shtml", target: "_top"},
	  { text: "Constitution", url: "http://web.mit.edu/~cycling-club/www/constitution.shtml", target: "_top"},
	  { text: "Links", url: "http://web.mit.edu/~cycling-club/www/links.shtml", target: "_top"},
	  
],
	"Alumni": [
	  { text: "2008 Alumni Ride", url: "http://web.mit.edu/~cycling-club/www/Rides/alumni.shtml", target: "_top"},
	  { text: "Support the Team", url: "http://web.mit.edu/~cycling-club/www/support.shtml", target: "_top"},
	  { text: "Clothing", url: "http://web.mit.edu/~cycling-club/www/clothing.shtml", target: "_top"}
		  ],
		"Support": [
	  { text: "Support the Team", url: "http://web.mit.edu/~cycling-club/www/support.shtml", target: "_top"},
	  { text: "Sponsors",  url: "http://web.mit.edu/~cycling-club/www/Sponsors/index.shtml", target: "_top", submenu: { 
		  id: "Support.Sponsors.", itemdata: oSponsorMenuData}}

	  ],
	  "Clothing": []

  };
  
  
  this.getItem(0).cfg.setProperty("submenu", { id:"Home", itemdata: oSubmenuData["Home"] });
  this.getItem(1).cfg.setProperty("submenu", { id:"Club", itemdata: oSubmenuData["Club"] });
  this.getItem(2).cfg.setProperty("submenu", { id:"Racing", itemdata: oSubmenuData["Racing"] });
  this.getItem(3).cfg.setProperty("submenu", { id:"Riding", itemdata: oSubmenuData["Riding"] });
  this.getItem(4).cfg.setProperty("submenu", { id:"Photos", itemdata: oSubmenuData["Photos"] });
  this.getItem(5).cfg.setProperty("submenu", { id:"NewsAndEvents", itemdata: oSubmenuData["NewsAndEvents"] });
  this.getItem(6).cfg.setProperty("submenu", { id:"About", itemdata: oSubmenuData["About"] });
  this.getItem(7).cfg.setProperty("submenu", { id:"Alumni", itemdata: oSubmenuData["Alumni"] });
  this.getItem(8).cfg.setProperty("submenu", { id:"Support", itemdata: oSubmenuData["Support"] });
  
}
  
// Instantiate and render the menu bar
  
  var oMenuBar = new YAHOO.widget.MenuBar("uxMainMenu", { autosubmenudisplay:true, showdelay:250, hidedelay:750, lazyload:true });


// Subscribe to the "beforerender" event

oMenuBar.beforeRenderEvent.subscribe(onMenuBarBeforeRender, oMenuBar, true);


// Render the menu bar

oMenuBar.render();

};


// Initialize and render the menu bar when it is available in the DOM
YAHOO.util.Event.addListener(window, "load", MIT.Cycling.Core.onMenuBarReady);
