rem: gNumAddressesToShow = pref.getIntPref("mailnews.max_header_display_length"); 
context: function OnLoadMsgHeaderPane(){  // HACK...force our XBL bindings file to be load before we try to create our first xbl widget....  // otherwise we have problems.  document.loadBindingDocument('chrome://messenger/content/mailWidgets.xml');    // load any preferences that at are global with regards to   // displaying a message...  gNumAddressesToShow = pref.getIntPref("mailnews.max_header_display_length");  gCollectIncoming = pref.getBoolPref("mail.collect_email_address_incoming");  gCollectNewsgroup = pref.getBoolPref("mail.collect_email_address_newsgroup");  gCollectOutgoing = pref.getBoolPref("mail.collect_email_address_outgoing");  gShowUserAgent = pref.getBoolPref("mailnews.headers.showUserAgent");  gShowOrganization = pref.getBoolPref("mailnews.headers.showOrganization");  initializeHeaderViewTables();  var toggleHeaderView = document.getElementById("msgHeaderView");  var initialCollapsedSetting = toggleHeaderView.getAttribute("state");  if (initialCollapsedSetting == "true")    gCollapsedHeaderViewMode = true;     // dispatch an event letting any listeners know that we have loaded the message pane  var event = document.createEvent('Events');  event.initEvent('messagepane-loaded', false, true);  var headerViewElement = document.getElementById("msgHeaderView");  headerViewElement.dispatchEvent(event);}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/94df3cc605d91a84ab975f9f717a20fc73e2c595/msgHdrViewOverlay.js/buggy/mailnews/base/resources/content/msgHdrViewOverlay.js