rem: var dropPosition if (aEvent.target.getAttribute("type") == "http: && aEvent.target.getAttribute("container") == "true") dropPosition = this.DROP_ON; else dropPosition = this.determineDropPosition(aEvent); 
add: var dropPosition = this.determineDropPosition(aEvent); 
context:   onDragOver: function (aEvent, aFlavour, aDragSession)    {      var dropPosition      if (aEvent.target.getAttribute("type") == "http://home.netscape.com/NC-rdf#Folder"          && aEvent.target.getAttribute("container") == "true")        dropPosition = this.DROP_ON;      else        dropPosition = this.determineDropPosition(aEvent);      // bail if drop target is not a valid bookmark item or folder      var inner = document.getElementById("innermostBox");      if (aEvent.target.parentNode != inner && aEvent.target != inner)         {          aDragSession.canDrop = false;          return;        }            if (this.mCurrentDragOverButton != aEvent.target ||          (this.mCurrentDragOverButton == aEvent.target &&           this.mCurrentDragPosition != dropPosition))        {          if (this.mCurrentDragOverButton)            {              this.mCurrentDragOverButton.removeAttribute("dragover-left");              this.mCurrentDragOverButton.removeAttribute("dragover-right");              this.mCurrentDragOverButton.removeAttribute("dragover-top");              this.mCurrentDragOverButton.removeAttribute("open");            }          this.mCurrentDragOverButton = aEvent.target;          this.mCurrentDragPosition = dropPosition;        }      switch (dropPosition)        {          case this.DROP_BEFORE:             aEvent.target.setAttribute("dragover-left", "true");            break;          case this.DROP_AFTER:            aEvent.target.setAttribute("dragover-right", "true");            break;          case this.DROP_ON:          default:            if (aEvent.target.getAttribute("container") == "true") {              aEvent.target.setAttribute("dragover-top", "true");              //cant open a menu during a drag! suck!              //aEvent.target.setAttribute("open", "true");            }            break;        }       return true;    },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/f6191f71c7adfdcc1b752cac938171af80e4cfdf/navigatorDD.js/clean/suite/browser/navigatorDD.js