rem: attachmentList.appendChild(item); } 
add: }  
context: function displayAttachmentsForExpandedView(){  var numAttachments = currentAttachments.length;  if (numAttachments > 0 && !gBuildAttachmentsForCurrentMsg)  {    var attachmentList = document.getElementById('attachmentList');    for (index in currentAttachments)    {      var attachment = currentAttachments[index];      // we need to create a listitem to insert the attachment      // into the attachment list..      var item = document.createElement("listitem");      item.setAttribute("class", "listitem-iconic");       item.setAttribute("label", attachment.displayName);      item.setAttribute("tooltip", "attachmentListTooltip");      item.attachment = cloneAttachment(attachment);      item.setAttribute("attachmentUrl", attachment.url);      item.setAttribute("attachmentContentType", attachment.contentType);      item.setAttribute("attachmentUri", attachment.uri);      setApplicationIconForAttachment(attachment, item);      attachmentList.appendChild(item);    } // for each attachment    gBuildAttachmentsForCurrentMsg = true;  }  var expandedAttachmentBox = document.getElementById('expandedAttachmentBox');  expandedAttachmentBox.collapsed = numAttachments <= 0;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/5213c89d42978aeb2bdc9f03b288f640f3b87ed8/msgHdrViewOverlay.js/clean/mailnews/base/resources/content/msgHdrViewOverlay.js