YAHOO.util.Event.onContentReady("nav", function () {

    var oMenuBar = new YAHOO.widget.MenuBar("nav", { 

		autosubmenudisplay: true, 

		hidedelay: 250, 

		lazyload: true });



	var aSubmenuData = [

		{

			id: "about", 

			itemdata: [ 

				{ text: "The Trainfest Experience", url: "/TrainfestExperience.html" },

				{ text: "Top 10 Reasons", url: "/Top10.html" },

				{ text: "FAQ", url: "/Faq.html" },
				
				{ text: "Trainfest Express Newsletter", url: "/TrainfestExpressNewsletter.html" },

				{ text: "Trainfest Video", url: "/Video.html" },

				{ text: "Clinics/Demos", url: "/ClinicsDemos.html" },

				{ text: "Directions", url: "/Directions.html" },

				{ text: "Exhibitors/Floor Plan", url: "/ExhibitorsFloorPlan.html" },

				{ text: "History", url: "/History.html" }

			]

		},

		{

			id: "tickets", 

			itemdata: [

				{ text: "Tickets/Show Details", url: "/TicketsShowDetails.html" },

				{ text: "Friday Product Showcase", url: "/ProductShowcase.html" },

				{ text: "Radio Disney", url: "/RadioDisney.html" },

				{ text: "Admission Coupons", url: "/Coupon.php" },

				{ text: "Preferred Hotels", url: "/Hotels.html" }                  

			]    

		},



		{

			id: "kidskorner", 

			itemdata: [

				{ text: "Engineered 4 Kids", url: "/Kids.html" },

				{ text: "Radio Disney", url: "/RadioDisney.html" },

				{ text: "Kids Coupon", url: "/Coupon.php" },

				{ text: "Crossword Puzzle", url: "/KidsCrossword.html" },

				{ text: "Word Search", url: "/KidsWordSearch.html" },

				{ text: "Coloring Page", url: "/KidsColoring.html" }    

			] 

		},



		{

			id: "media",

			itemdata: [

				{ text: "Press Release", url: "/Press.html" },

				{ text: "Fact Sheet", url: "/FactSheet.html" },

				{ text: "Community News", url: "/CommunityNews.html" },

				{ text: "Feature Article", url: "/Feature.html" }

			]

		},

		

		{

			id: "gallery",

			itemdata: [

				{ text: "Trainfest Video", url: "/Video.html" },

				{ text: "Annual Trainfest Pics", url: "/Gallery/AnnualPictures.html" },

				{ text: "Layout Awards", url: "/Gallery/Layout.html" },

				{ text: "Display Awards", url: "/Gallery/Display.html" },

				{ text: "Module Awards", url: "/Gallery/Module.html" },

				{ text: "Honorable Mentions", url: "/Gallery/HonorableMention.html" },

				{ text: "Chairman & Committee Awards", url: "/Gallery/ChairmanCommittee.html" }

			]

		},

		{

			id: "friends",

			itemdata: [

				{ text: "Sponsors", url: "/Sponsors.html" },

				{ text: "Committee", url: "/Committee.html" },

				{ text: "Links", url: "/Links.html" },

				{ text: "Friday Product Showcase<br /> &nbsp; &nbsp; Dealer Registration ", url: "/ShowcaseRegistration.html" }

			]

		}   

	];

	

	oMenuBar.subscribe("beforeRender", function () {

	

		if (this.getRoot() == this) {

	

			this.getItem(0).cfg.setProperty("submenu", aSubmenuData[0]);

			this.getItem(1).cfg.setProperty("submenu", aSubmenuData[1]);

			this.getItem(2).cfg.setProperty("submenu", aSubmenuData[2]);

			this.getItem(3).cfg.setProperty("submenu", aSubmenuData[3]);

			this.getItem(4).cfg.setProperty("submenu", aSubmenuData[4]);

			this.getItem(5).cfg.setProperty("submenu", aSubmenuData[5]);

	

		}

	

	});

	oMenuBar.render();    

});