rem: for(var i = 0; i < delnarray.length; i++) 
add: for(i = 0; i < delnarray.length; i++) 
context: 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;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/24abae959b15b7e9d04c74677b44138638383679/CookieViewer.js/buggy/extensions/wallet/cookieviewer/CookieViewer.js