rem: function DeleteItemSelected() { if (cookie_mode == 0) { DeleteCookieSelected(); } else if (cookie_mode == 1) { DeletePermissionSelected(); } } 
add: function DeleteItemSelected(tree, prefix, kids) { var delnarray = []; var rv = ""; var cookietree = document.getElementById(tree); selitems = cookietree.selectedItems; for(var 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(var i = 0; i < delnarray.length; i++) { document.getElementById(kids).removeChild(delnarray[i]); } return rv; } 
context:     function DeleteItemSelected() {      if (cookie_mode == 0) {        DeleteCookieSelected();      } else if (cookie_mode == 1) {        DeletePermissionSelected();      }    }
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/6344ccf9a8685be4062dc5c1b140ef98411b3df6/CookieViewer.js/clean/extensions/wallet/cookieviewer/CookieViewer.js