YAHOO.util.Event.onContentReady("navigation", function () {

	// Instantiate and render the menu bar

	var oMenuBar = new YAHOO.widget.MenuBar("navigation", { 
												autosubmenudisplay: true, 
												hidedelay: 750,
												position: "static",
												visible: true,
												lazyload: true 												
											});

	/*
		 Call the "render" method with no arguments since the markup for 
		 this menu already exists in the DOM.
	*/
	var onBeforeShow = function() { 
		YAHOO.util.Dom.setStyle('sub_lookingfor', 'left', '10px'); 
		YAHOO.util.Dom.setStyle('sub_about', 'left', '325px'); 
	};
 
	oMenuBar.subscribe("beforeShow", onBeforeShow);
	
	oMenuBar.render();

});

YAHOO.util.Event.onContentReady("storenavigation", function () {

	// Instantiate and render the menu bar

	var storeMenuBar = new YAHOO.widget.MenuBar("storenavigation", { 
												autosubmenudisplay: true, 
												hidedelay: 750,
												position: "static",
												visible: true,
												lazyload: true										
											});
 
	
	storeMenuBar.render();

});

