add:   attachmentUrlArray.length = 0; attachmentDisplayNameArray.length = 0; attachmentMessageUriArray.length = 0; 
context: function ClearAttachmentMenu() {   var popup = document.getElementById("attachmentPopup");   if ( popup )   {      while ( popup.childNodes.length > 2 )        popup.removeChild(popup.childNodes[0]);   }   var attachBox = document.getElementById("attachmentBox");  if (attachBox)    attachBox.setAttribute("hide", "true");}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/8603e2c5a28e0ccf41f641a56f4bb80a96bb800d/msgHdrViewOverlay.js/clean/mailnews/base/resources/content/msgHdrViewOverlay.js