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: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/973d9efafa9fda2b0e7d9b3c0c0e673f957fa0fd/msgHdrViewOverlay.js/buggy/mailnews/base/resources/content/msgHdrViewOverlay.js