   document.getElementById('msgHeaderView').removeAttribute('height');  
function UpdateMessageHeaders(){  // iterate over each header we received and see if we have a matching entry in each  // header view table...  var headerName;  for (headerName in currentHeaderData)  {    var headerField = currentHeaderData[headerName];    var headerEntry = null;    if (headerName == "subject")    {      try {        if (gDBView.keyForFirstSelectedMessage == nsMsgKey_None)        {          var folder = null;          if (gCurrentFolderUri)            folder = RDF.GetResource(gCurrentFolderUri).QueryInterface(Components.interfaces.nsIMsgFolder);          setTitleFromFolder(folder, headerField.headerValue);        }      } catch (ex) {}    }        if (gCollapsedHeaderViewMode && !gBuiltCollapsedView)    {       if (headerName in gCollapsedHeaderView)      headerEntry = gCollapsedHeaderView[headerName];    }    else if (!gCollapsedHeaderViewMode && !gBuiltExpandedView)    {      if (headerName in gExpandedHeaderView)       headerEntry = gExpandedHeaderView[headerName];      if (!headerEntry && gViewAllHeaders)      {        // for view all headers, if we don't have a header field for this value....cheat and create one....then        // fill in a headerEntry        gExpandedHeaderView[headerName] = new createNewHeaderView(headerName, currentHeaderData[headerName].headerName + ':');        headerEntry = gExpandedHeaderView[headerName];      }    } // if we are in expanded view....    if (headerEntry)    {      headerEntry.outputFunction(headerEntry, headerField.headerValue);      headerEntry.valid = true;    }  }  if (gCollapsedHeaderViewMode)   gBuiltCollapsedView = true;  else   gBuiltExpandedView = true;  // now update the view to make sure the right elements are visible  updateHeaderViews();    if ("FinishEmailProcessing" in this)    FinishEmailProcessing();}
5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5459/b031f74b44f2a7c8bdd4ee14d38c2bd7dd70ff60/msgHdrViewOverlay.js/buggy/mail/base/content/msgHdrViewOverlay.js