add:   var PBStyle = window.getComputedStyle(document.getElementById("PersonalToolbar"),''); var isHorizontal = (target.localName == "toolbarbutton"); if ((PBStyle.direction == 'rtl') && isHorizontal) if (orientation == BookmarksUtils.DROP_AFTER) orientation = BookmarksUtils.DROP_BEFORE; else if (orientation == BookmarksUtils.DROP_BEFORE) orientation = BookmarksUtils.DROP_AFTER;  
context:   onDrop: function (aEvent, aXferData, aDragSession)  {    var target = aEvent.target;    this.onDragRemoveFeedBack(target);    var selection = BookmarksUtils.getSelectionFromXferData(aDragSession);    var orientation = BookmarksMenu.getBTOrientation(aEvent);    var selTarget   = BookmarksMenu.getBTTarget(target, orientation);    const kDSIID      = Components.interfaces.nsIDragService;    const kCopyAction = kDSIID.DRAGDROP_ACTION_COPY + kDSIID.DRAGDROP_ACTION_LINK;    // hide the 'open in tab' menuseparator because bookmarks    // can be inserted after it if they are dropped after the last bookmark    // a more comprehensive fix would be in the menupopup template builder    var menuSeparator = null;    var menuTarget = (target.localName == "toolbarbutton" ||                      target.localName == "menu")         &&                      orientation == BookmarksUtils.DROP_ON?                     target.lastChild:target.parentNode;    if (menuTarget.hasChildNodes() &&        menuTarget.lastChild.getAttribute("class") == "openintabs-menuitem") {      menuSeparator = menuTarget.lastChild.previousSibling;      menuTarget.removeChild(menuSeparator);    }    if (aDragSession.dragAction & kCopyAction)      BookmarksUtils.insertAndCheckSelection("drag", selection, selTarget);    else      BookmarksUtils.moveAndCheckSelection("drag", selection, selTarget);    // show again the menuseparator    if (menuSeparator)      menuTarget.insertBefore(menuSeparator, menuTarget.lastChild);  },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/a8074d09a79caf20cb516ac807d68e4ab934501a/bookmarksMenu.js/buggy/browser/components/bookmarks/content/bookmarksMenu.js