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: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/fa29ddfbfad96a5505f0d9a7137e54079c538c86/customize.js/clean/xpfe/components/sidebar/resources/customize.js