rem:   msgPaneData.UserAgentBox = document.getElementById("UserAgentBox"); msgPaneData.UserAgentValue = document.getElementById("UserAgentValue"); 
context: function OnLoadMsgHeaderPane(){   // build a document object for the header pane so we can cache fetches for elements  // in a local variable  // if you add more document elements with ids to msgHeaderPane.xul, you should add   // to this object...  msgPaneData = new Object;  currentHeaderData = new Object;  if (msgPaneData)  {    // First group of headers    msgPaneData.SubjectBox = document.getElementById("SubjectBox");    msgPaneData.SubjectValue = document.getElementById("SubjectValue");    msgPaneData.FromBox   =   document.getElementById("FromBox");    msgPaneData.FromValue = document.getElementById("FromValue");    msgPaneData.DateBox = document.getElementById("DateBox");    msgPaneData.DateValue = document.getElementById("DateValue");    // Attachment related elements    msgPaneData.AttachmentPopup = document.getElementById("attachmentPopup");    msgPaneData.AttachmentButton = document.getElementById("attachmentButton");    // Second toolbar     msgPaneData.ToBox = document.getElementById("ToBox");        // ToValueShort is the div which shows a shortened number of addresses    // on the to line...ToValueLong is a div which shows all of the    // addresses on the to line. The same rule applies for ccValueShort/Long    msgPaneData.ToValueShort = document.getElementById("ToValueShort");    msgPaneData.ToValueLong = document.getElementById("ToValueLong");    msgPaneData.ToValueToggleIcon = document.getElementById("ToValueToggleIcon");    msgPaneData.CcBox = document.getElementById("CcBox");    msgPaneData.CcValueShort = document.getElementById("CcValueShort");    msgPaneData.CcValueLong = document.getElementById("CcValueLong");    msgPaneData.CcValueToggleIcon = document.getElementById("CcValueToggleIcon");    msgPaneData.NewsgroupBox = document.getElementById("NewsgroupBox");    msgPaneData.NewsgroupValue = document.getElementById("NewsgroupValue");    // Third toolbar    msgPaneData.UserAgentBox = document.getElementById("UserAgentBox");    msgPaneData.UserAgentValue = document.getElementById("UserAgentValue");  }    // load any preferences that at are global with regards to   // displaying a message...  gNumAddressesToShow = pref.GetIntPref("mailnews.max_header_display_length");}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/4e9c59c4b23f66b3e027e3836556f995c73739c6/msgHdrViewOverlay.js/buggy/mailnews/base/resources/content/msgHdrViewOverlay.js