rem: selectedNode.parentNode.removeChild(selectedNode); numToRemove--; 
context: function RemovePanel(){  var tree = document.getElementById('current-panels');  var nextNode = null;  var numToRemove = tree.selectedItems.length;  while (numToRemove > 0) {    var selectedNode = tree.selectedItems[0];    nextNode = selectedNode.nextSibling;    if (!nextNode) {      nextNode = selectedNode.previousSibling;    }    selectedNode.parentNode.removeChild(selectedNode);    numToRemove--;  }  if (nextNode) {    tree.selectItem(nextNode)  }  enable_buttons_for_current_panels();}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/d38a0937d9c93a0a9d913e2ac781e4328bb8cc73/customize.js/clean/xpfe/components/sidebar/resources/customize.js