﻿YAHOO.util.Event.onAvailable("basicmenu", function () { 
		
 
	    /*
	         Instantiate a MenuBar:  The first argument passed to the 
	         constructor is the id of the element in the page 
	         representing the MenuBar; the second is an object literal 
	         of configuration properties.
	    */ 
	    var oMenuBar = new YAHOO.widget.MenuBar("basicmenu", {  
                                            autosubmenudisplay: true,  
                                            zindex: 10,
                                            hidedelay: 750,  
                                            lazyload: true }); 
	 
   	    /*
	         Call the "render" method with no arguments since the 
	         markup for this MenuBar instance is already exists in 
	         the page.
	    */ 
	 
	    oMenuBar.render(); 
	 
	});
	
YAHOO.util.Event.onContentReady("basicmenu", function () { 
		
 
	    /*
	         Instantiate a MenuBar:  The first argument passed to the 
	         constructor is the id of the element in the page 
	         representing the MenuBar; the second is an object literal 
	         of configuration properties.
	    */ 
	    var oMenuBar = new YAHOO.widget.MenuBar("basicmenu", {  
                                            autosubmenudisplay: true,  
                                            zindex: 10,
                                            hidedelay: 750,  
                                            lazyload: true }); 
	 
   	    /*
	         Call the "render" method with no arguments since the 
	         markup for this MenuBar instance is already exists in 
	         the page.
	    */ 
	 
	    oMenuBar.render(); 
	 
	});	
