add:  /* Locate the tab we're about to drop onto. We split tabs in half, dropping * on the side closest to the mouse, or after the last tab if the mouse is * somewhere beyond all the tabs. */ var ltr = (window.getComputedStyle(client.tabs, null).direction == "ltr"); var newPosition = 0; for (var dropTab = client.tabs.firstChild; dropTab; dropTab = dropTab.nextSibling) { if (dropTab.collapsed || dropTab.hidden) continue; var bo = dropTab.boxObject; if ((ltr && (aEvent.screenX < bo.screenX + bo.width / 2)) || (!ltr && (aEvent.screenX > bo.screenX + bo.width / 2))) { break; } newPosition += dropTab.boxObject.width; }   client.tabDragMarker.style.MozMarginStart = newPosition + "px"; client.tabDragBar.collapsed = false; 
context: function tabdnd_dover (aEvent, aFlavour, aDragSession){    if (aEvent.getPreventDefault())        return;    if (aDragSession.sourceDocument == aEvent.view.document)    {        aDragSession.canDrop = false;        return;    }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/16ec0dd056fe66350dbfd2db3d2c89bf59f238ea/static.js/clean/extensions/irc/xul/content/static.js