rem: AddAttachmentToMenu(screenDisplayName, commandStringPrefix); } 
add: item = document.createElement("treeitem"); row = document.createElement("treerow"); cell = document.createElement("treecell");  cell.setAttribute('class', "treecell-iconic"); cell.setAttribute("label", attachment.displayName); item.setAttribute("commandSuffix", generateCommandSuffixForAttachment(attachment)); setApplicationIconForAttachment(attachment, cell); row.appendChild(cell); item.appendChild(row); attachmentList.appendChild(item); } 
context: function displayAttachmentsForExpandedView(){  var numAttachments = currentAttachments.length;  if (numAttachments > 0 && !gBuildAttachmentsForCurrentMsg)  {    for (index in currentAttachments)    {       var attachment = currentAttachments[index];      // be sure to escape the display name before we insert it into the method      var commandStringPrefix = "('" + attachment.contentType + "', '" + attachment.url + "', '" + escape(attachment.displayName) + "', '" + attachment.uri + "')";      var screenDisplayName = attachment.displayName;      if (attachment.notDownloaded)      {        screenDisplayName += " " + gMessengerBundle.getString("notDownloaded");      }      AddAttachmentToMenu(screenDisplayName, commandStringPrefix);        }    gBuildAttachmentsForCurrentMsg = true;  }  var attachmentNode = document.getElementById('expandedAttachmentBox');  if (numAttachments > 0)  // make sure the attachment button is visible    attachmentNode.removeAttribute('collapsed');  else    attachmentNode.setAttribute('collapsed', true);}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/1875274a8fa019f89c21e9611482844b208e382d/msgHdrViewOverlay.js/clean/mailnews/base/resources/content/msgHdrViewOverlay.js