code: function(e) {
  
                  var EU = YAHOO.util.Event, i, j, l, len, index,
                           ul = unloadListeners.slice(), context;
  
                  // execute and clear stored unload listeners
                  for (i=0, len=unloadListeners.length; i<len; ++i) {
                      l = ul[i];
                      if (l) {
                          context = window;
                          if (l[EU.ADJ_SCOPE]) {
                              if (l[EU.ADJ_SCOPE] === true) {
                                  context = l[EU.UNLOAD_OBJ];
                              } else {
                                  context = l[EU.ADJ_SCOPE];
                              }
                          }
                          l[EU.FN].call(context, EU.getEvent(e, l[EU.EL]), l[EU.UNLOAD_OBJ] );
                          ul[i] = null;
                      }
                  }
  
                  l = null;
                  context = null;
                  unloadListeners = null;
  
                  // Remove listeners to handle IE memory leaks
                  // 2.5.0 listeners are removed for all browsers again.  FireFox preserves
                  // at least some listeners between page refreshes, potentially causing
                  // errors during page load (mouseover listeners firing before they
                  // should if the user moves the mouse at the correct moment).
                  if (listeners) {
                      for (j=listeners.length-1; j>-1; j--) {
                          l = listeners[j];
                          if (l) {
                              EU.removeListener(l[EU.EL], l[EU.TYPE], l[EU.FN], j);
                          } 
                      }
                      l=null;
                  }
  
                  EU._simpleRemove(window, "unload", EU._unload);
  
              }
docs: Removes all listeners registered by pe.event.  Called
  automatically during the unload event.
  @method _unload
  @static
  @private