add: } else { Sortable.mark(dropon, 'after'); var nextElement = dropon.nextSibling || null; if(nextElement != element) { var oldParentNode = element.parentNode; element.style.visibility = "hidden"; dropon.parentNode.insertBefore(element, nextElement); if(dropon.parentNode!=oldParentNode) Sortable.options(oldParentNode).onChange(element); Sortable.options(dropon.parentNode).onChange(element); } } }, 
context:       onHover: function(element, dropon, overlap) {         if(overlap>0.5) {          if(dropon.previousSibling != element) {            var oldParentNode = element.parentNode;            element.style.visibility = "hidden"; // fix gecko rendering            dropon.parentNode.insertBefore(element, dropon);            if(dropon.parentNode!=oldParentNode && oldParentNode.sortable)               oldParentNode.sortable.onChange(element);            if(dropon.parentNode.sortable)              dropon.parentNode.sortable.onChange(element);          }        } else {                          var nextElement = dropon.nextSibling || null;          if(nextElement != element) {            var oldParentNode = element.parentNode;            element.style.visibility = "hidden"; // fix gecko rendering            dropon.parentNode.insertBefore(element, nextElement);            if(dropon.parentNode!=oldParentNode && oldParentNode.sortable)               oldParentNode.sortable.onChange(element);            if(dropon.parentNode.sortable)              dropon.parentNode.sortable.onChange(element);          }        }      }
meta: 3158	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3158/3f913f897829fb026ef98df2d57f8da94ee5339d/dragdrop.js/buggy/public/javascripts/dragdrop.js