rem: child = bucket.removeChild(bucket.lastChild); 
add: child = bucket.removeItemAt(bucket.getRowCount() - 1); 
context: function RemoveAllAttachments(){  var child;  var bucket = document.getElementById("attachmentBucket");  while (bucket.hasChildNodes())  {    child = bucket.removeChild(bucket.lastChild);    // Let's release the attachment object hold by the node else it won't go away until the window is destroyed    child.attachment = null;  }    document.getElementById("attachments-box").setAttribute("hidden", "true");  document.getElementById("attachmentbucket-sizer").setAttribute("hidden", "true");   }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/e4fe9f4c016d51928b00ca063046836dc4caea5d/MsgComposeCommands.js/clean/mail/components/compose/content/MsgComposeCommands.js