add:  var id = null; var headerchoice = null;  try { headerchoice = pref.GetIntPref("mail.show_headers"); } catch (ex) { dump("failed to get the header pref\n"); }  switch (headerchoice) { case 2: id = "viewallheaders"; break; case 0: id = "viewbriefheaders"; break; case 1: id = "viewnormalheaders"; break; default: id = "viewnormalheaders"; break; }  var menuitem = document.getElementById(id);  try {   } catch (ex) { dump("failed to set the view headers menu item\n"); } 
context: function OnLoadMessenger(){    verifyAccounts();        loadStartPage();	InitMsgWindow();	messenger.SetWindow(window, msgWindow);	AddDataSources();	InitPanes();    loadStartFolder();    AddToSession();}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/9211b9189f02ae4ac7d44d8a2bcbc48771a917d4/msgMail3PaneWindow.js/clean/mailnews/base/resources/content/msgMail3PaneWindow.js