rem:  if (!gCollapsedHeaderView.length) for (var index = 0; index < gCollapsedHeaderList.length; index++) 
add: var index; for (index = 0; index < gCollapsedHeaderList.length; index++) 
context: function initializeHeaderViewTables(){  // iterate over each header in our header list arrays and create header entries   // for each one. These header entries are then stored in the appropriate header table  if (!gCollapsedHeaderView.length) // if we haven't already initialized the collapsed view...    for (var index = 0; index < gCollapsedHeaderList.length; index++)    {      gCollapsedHeaderView[gCollapsedHeaderList[index].name] =         new createHeaderEntry('collapsed', gCollapsedHeaderList[index]);    }  if (!gExpandedHeaderView.length)  {    for (index = 0; index < gExpandedHeaderList.length; index++)    {      var headerName = gExpandedHeaderList[index].name;      gExpandedHeaderView[headerName] = new createHeaderEntry('expanded', gExpandedHeaderList[index]);    }        if (gShowOrganization)    {      var organizationEntry = {name:"organization", outputFunction:updateHeaderValue};      gExpandedHeaderView[organizationEntry.name] = new createHeaderEntry('expanded', organizationEntry);    }        if (gShowUserAgent)    {      var userAgentEntry = {name:"user-agent", outputFunction:updateHeaderValue};      gExpandedHeaderView[userAgentEntry.name] = new createHeaderEntry('expanded', userAgentEntry);    }  } // if we need to initialize the expanded header view...}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/bc93a38233f9f128fe3fb10e946a808da2ed9c66/msgHdrViewOverlay.js/clean/mail/base/content/msgHdrViewOverlay.js