rem: selname = top.frames[list_frame].document.fSelectCookie.selname; goneC = top.frames[button_frame].document.buttons.goneC; var p; var i; for (i=selname.options.length; i>0; i--) { if (selname.options[i-1].selected) { selname.options[i-1].selected = 0; goneC.value = goneC.value + selname.options[i-1].value + ","; deleted_cookies[selname.options[i-1].value] = 1; selname.remove(i-1); } } top.frames[prop_frame].document.open(); top.frames[prop_frame].document.close(); } 
add:  gone_c += DeleteItemSelected("cookietree", "tree_", "cookielist");  rows = ["ifl_name","ifl_value","ifl_domain","ifl_path","ifl_secure","ifl_expires"]; for(k = 0; k < rows.length; k++) { var row = document.getElementById(rows[k]); row.setAttribute("value",""); } } 
context:     function DeleteCookieSelected() {      selname = top.frames[list_frame].document.fSelectCookie.selname;      goneC = top.frames[button_frame].document.buttons.goneC;      var p;      var i;      for (i=selname.options.length; i>0; i--) {        if (selname.options[i-1].selected) {          selname.options[i-1].selected = 0;          goneC.value = goneC.value + selname.options[i-1].value + ",";          deleted_cookies[selname.options[i-1].value] = 1;          selname.remove(i-1);        }      }      top.frames[prop_frame].document.open();      top.frames[prop_frame].document.close();    }
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/6344ccf9a8685be4062dc5c1b140ef98411b3df6/CookieViewer.js/buggy/extensions/wallet/cookieviewer/CookieViewer.js