rem: if (selected.previousSibling) { selected.parentNode.insertBefore(selected, selected.previousSibling); 
add: var before = selected.previousSibling if (before) { before.parentNode.insertBefore(selected, before); 
context: function MoveUp() {  var tree = document.getElementById('current-panels');   if (tree.selectedItems.length == 1) {    var selected = tree.selectedItems[0];    if (selected.previousSibling) {      selected.parentNode.insertBefore(selected, selected.previousSibling);      tree.selectItem(selected);    }  }  enableButtonsForCurrentPanels();  enableSave();}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/812c513ef95c9cb6262d2f63b79febf35d204133/customize.js/buggy/suite/common/sidebar/customize.js