var numAttachments = currentAttachments.length;     
var numAttachments = currentAttachments.length; var expandedAttachmentBox = document.getElementById('attachmentView'); var attachmentSplitter = document.getElementById('attachment-splitter'); 
function displayAttachmentsForExpandedView(){  var numAttachments = currentAttachments.length;    // IMPORTANT: make sure we uncollapse the attachment box BEFORE we start adding  // our attachments to the view. Otherwise, layout doesn't calculate the correct height for  // the attachment view and we end up with a box that is too tall.  var expandedAttachmentBox = document.getElementById('attachmentView');  expandedAttachmentBox.collapsed = numAttachments <= 0;  if (numAttachments > 0 && !gBuildAttachmentsForCurrentMsg)  {    var attachmentList = document.getElementById('attachmentList');    for (index in currentAttachments)    {      var attachment = currentAttachments[index];      // create a new attachment widget. set the label, set the       // moz-icon img src      var attachmentView = attachmentList.appendItem(attachment.displayName);      attachmentView.setAttribute("class", "descriptionitem-iconic");       if (gShowLargeAttachmentView)      {        attachmentView.setAttribute("largeView", "true");        attachmentView.setAttribute("orient", "vertical");      }      setApplicationIconForAttachment(attachment, attachmentView, gShowLargeAttachmentView);      attachmentView.setAttribute("tooltip", "attachmentListTooltip");      attachmentView.setAttribute("context", "attachmentListContext");            attachmentView.attachment = cloneAttachment(attachment);      attachmentView.setAttribute("attachmentUrl", attachment.url);      attachmentView.setAttribute("attachmentContentType", attachment.contentType);      attachmentView.setAttribute("attachmentUri", attachment.uri);      var item = attachmentList.appendChild(attachmentView);    } // for each attachment    gBuildAttachmentsForCurrentMsg = true;  }}
5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5459/b031f74b44f2a7c8bdd4ee14d38c2bd7dd70ff60/msgHdrViewOverlay.js/buggy/mail/base/content/msgHdrViewOverlay.js