code: function(button) {
              var Button = YAHOO.widget.Button;
  
              // If we have an HTML button and YUI Button is on the page, 
              // get the YUI Button reference if available.
              if (Button && button && button.nodeName && button.id) {
                  button = Button.getButton(button.id) || button;
              }
  
              return button;
          }
docs: Helper method to normalize button references. It either returns the
  YUI Button instance for the given element if found,
  or the passes back the HTMLElement reference if a corresponding YUI Button
  reference is not found or YAHOO.widget.Button does not exist on the page.
  
  @method _getButton
  @private
  @param {HTMLElement} button
  @return {YAHOO.widget.Button|HTMLElement}