rem: bucket.removeChild(bucket.childNodes[i]); 
add: { child = bucket.removeChild(bucket.childNodes[i]);  child.attachment = null; } 
context: function RemoveAllAttachments(){	var bucket = document.getElementById("attachmentBucket");  for (var i = bucket.childNodes.length - 1; i >= 0; i--)	  bucket.removeChild(bucket.childNodes[i]);}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/47e9797c2c6f11e7df6f87d3d2320206c3239e82/MsgComposeCommands.js/buggy/mailnews/compose/resources/content/MsgComposeCommands.js