
YAHOO.example.onMenuBarReady = function() {

	// Instantiate and render the menu bar

	var oMenuBar = new YAHOO.widget.MenuBar("topmenu", { autosubmenudisplay:true, hidedelay:750, lazyload:true });

	oMenuBar.render();

};


// Initialize and render the menu bar when it is available in the DOM

YAHOO.util.Event.onContentReady("topmenu", YAHOO.example.onMenuBarReady);

