rem: node = document.getElementById("fileAttachmentMenu"); 
add: var node = document.getElementById("fileAttachmentMenu"); 
context: function ClearAttachmentList() {   // we also have to disable the File/Attachments menuitem  node = document.getElementById("fileAttachmentMenu");  if (node)    node.setAttribute("disabled", "true");  // clear selection  var list = document.getElementById('attachmentList');  list.clearSelection();  while (list.hasChildNodes())     list.removeChild(list.lastChild);}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/5f5a9dd71ae4ad6dc00c4f9cf438579817dd4558/msgHdrViewOverlay.js/clean/mailnews/base/resources/content/msgHdrViewOverlay.js