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: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/17f29aa602b07bd3c0d7cb286330c2b9296d8d7f/MsgComposeCommands.js/clean/mailnews/compose/resources/content/MsgComposeCommands.js