add:  var showAllHeadersPref = pref.GetIntPref("mail.show_headers"); if (showAllHeadersPref == 2) gViewAllHeaders = true; else gViewAllHeaders = false;  
context:     onStartHeaders: function()    {      ClearCurrentHeaders();      gGeneratedViewAllHeaderInfo = false;      ClearAttachmentMenu();    },
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/98755cac0604e81cca4eec718d6a388b276bb19e/msgHdrViewOverlay.js/buggy/mailnews/base/resources/content/msgHdrViewOverlay.js