rem: var selitems = cookietree.selectedItems; for(i = 0; i < selitems.length; i++) 
add: var rangeCount = cookietree.view.selection.getRangeCount(); for(i = 0; i < rangeCount; ++i) 
context: function DeleteItemSelected(tree, prefix, kids) {  var i;  var delnarray = [];  var rv = "";  var cookietree = document.getElementById(tree);  var selitems = cookietree.selectedItems;  for(i = 0; i < selitems.length; i++)   {     delnarray[i] = document.getElementById(selitems[i].getAttribute("id"));    var itemid = parseInt(selitems[i].getAttribute("id").substring(prefix.length,selitems[i].getAttribute("id").length));    rv += (itemid + ",");  }  for(i = 0; i < delnarray.length; i++)   {     document.getElementById(kids).removeChild(delnarray[i]);  }  return rv;}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/d38a0937d9c93a0a9d913e2ac781e4328bb8cc73/crlManager.js/buggy/security/manager/pki/resources/content/crlManager.js