text: $A.bind(window, 'load', function(){
  
  	// Configure menu functionality
  
  	$A.setMenu('button.menu', 'hiddenDivId', 'menu-options', function(ev, dc){
  		alert('Do something with this.href or id="' + this.id + '"');
  	}, true, document,
  					{
  
  					// Assign a role name for screen reader users
  					role: 'Menu',
  					// Assign beginning and ending text to be appended to the role name for screen reader users
  					accStart: 'Start',
  					accEnd: 'End',
  // Assign the state text, which will be appended to the triggering element when a menu is open for screen reader users
  					openState: 'Open',
  
  					// Set the initial menu heading level
  					ariaLevel: 3,
  
  					// Set the main container class, (which will surround the menu as a Div tag when rendered)
  					containerClass: 'menu',
  
  					// Specify the menu tag name in the markup
  					menuTag: 'ol',
  					// Specify the menu class name on the above tag in the markup
  					menuClass: 'menu',
  
  					// Specify the active element that will be used as each menu node
  					// Important, if nesting A tags within LIs, only the A tag should be used for this purpose
  					// Active elements should never be nested.
  					// The following tag will receive keyboard focus within the menu structure when using the arrow keys to navigate
  					// Event bindings are also tied to this tag
  					itemTag: 'a',
  					// Specify the class name that indicates when a menu item opens a submenu
  					folderClass: 'submenu',
  					// Specify the class name that indicates when a menu item is to be triggered directly
  					// This should not be the same as the folderClass declaration
  					linkClass: 'link',
  
  					// Specify if the menu is a flyout menu
  					// If true, the Left and Right arrow keys will scroll the open menu
  					// If false, the Up and Down arrow keys will scroll the open menu instead
  					horizontal: false,
  					autoPosition: 0,
  					// Set custom offset values to adjust the positioning calculation
  					// May return a positive or negative number
  					offsetLeft: function(dc){
  						return 0;
  					},
  					offsetTop: function(dc){
  						return 0;
  					},
  					overrides:
  									{
  									cssObj:
  													{
  													position: 'absolute',
  													zIndex: 1
  													},
  									runAfter: function(dc){
  									// alert('test');
  									}
  									// Additional AccDC API properties and methods can be applied here.
  									}
  					});
  });