code: function(e, silent) {
              // YAHOO.log("mouseup - removing event handlers");
              var dc = this.dragCurrent;
              // Fire the drag end event for the item that was dragged
              if (dc && !silent) {
                  if (this.dragThreshMet) {
                      YAHOO.log("firing endDrag events", "info", "DragDropMgr");
                      if (dc.events.b4EndDrag) {
                          dc.b4EndDrag(e);
                          dc.fireEvent('b4EndDragEvent', { e: e });
                      }
                      if (dc.events.endDrag) {
                          dc.endDrag(e);
                          dc.fireEvent('endDragEvent', { e: e });
                      }
                  }
                  if (dc.events.mouseUp) {
                      YAHOO.log("firing dragdrop onMouseUp event", "info", "DragDropMgr");
                      dc.onMouseUp(e);
                      dc.fireEvent('mouseUpEvent', { e: e });
                  }
              }
  
              if (this._shimActive) {
                  this._deactivateShim();
                  if (this.dragCurrent && this.dragCurrent.useShim) {
                      this.useShim = this._shimState;
                      this._shimState = false;
                  }
              }
  
              this.dragCurrent = null;
              this.dragOvers = {};
          }
docs: Ends the current drag, cleans up the state, and fires the endDrag
  and mouseUp events.  Called internally when a mouseup is detected
  during the drag.  Can be fired manually during the drag by passing
  either another event (such as the mousemove event received in onDrag)
  or a fake event with pageX and pageY defined (so that endDrag and
  onMouseUp have usable position data.).  Alternatively, pass true
  for the silent parameter so that the endDrag and onMouseUp events
  are skipped (so no event data is needed.)
  
  @method stopDrag
  @param {Event} e the mouseup event, another event (or a fake event)
  with pageX and pageY defined, or nothing if the
  silent parameter is true
  @param {boolean} silent skips the enddrag and mouseup events if true
  @static