rem: function init() {  helpSearchPanel = document.getElementById("help-search-panel"); helpTocPanel = document.getElementById("help-toc-panel"); helpIndexPanel = document.getElementById("help-index-panel"); helpGlossaryPanel = document.getElementById("help-glossary-panel"); helpBrowser = document.getElementById("help-content");  strBundle = document.getElementById("bundle_help"); emptySearchText = strBundle.getString("emptySearchText");  initFindBar();   var helpTopic = defaultTopic; if ("arguments" in window && window.arguments[0] instanceof Components.interfaces.nsIDialogParamBlock) { helpFileURI = window.arguments[0].GetString(0);  helpBaseURI = helpFileURI.substring(0, helpFileURI.lastIndexOf("/")+1); helpTopic = window.arguments[0].GetString(1); }  loadHelpRDF(); displayTopic(helpTopic);   const width = document.documentElement.getAttribute("width"); const height = document.documentElement.getAttribute("height"); window.moveTo((screen.availWidth - width) / 2, (screen.availHeight - height) / 2);   getWebNavigation().sessionHistory = Components.classes["@mozilla.org/browser/shistory;1"] .createInstance(Components.interfaces.nsISHistory);  gClickSelectsAll = getBoolPref("browser.urlbar.clickSelectsAll", true);  setTimeout(focusSearch, 0); } 
add: init : function() {}, 
context: function init() {  // Cache panel references.  helpSearchPanel = document.getElementById("help-search-panel");  helpTocPanel = document.getElementById("help-toc-panel");  helpIndexPanel = document.getElementById("help-index-panel");  helpGlossaryPanel = document.getElementById("help-glossary-panel");  helpBrowser = document.getElementById("help-content");  strBundle = document.getElementById("bundle_help");  emptySearchText = strBundle.getString("emptySearchText");  initFindBar();  // Get the content pack, base URL, and help topic  var helpTopic = defaultTopic;  if ("arguments" in window &&        window.arguments[0] instanceof Components.interfaces.nsIDialogParamBlock) {    helpFileURI = window.arguments[0].GetString(0);    // trailing "/" included.    helpBaseURI = helpFileURI.substring(0, helpFileURI.lastIndexOf("/")+1);    helpTopic = window.arguments[0].GetString(1);  }  loadHelpRDF();  displayTopic(helpTopic);  // Move to Center of Screen  const width = document.documentElement.getAttribute("width");  const height = document.documentElement.getAttribute("height");  window.moveTo((screen.availWidth - width) / 2, (screen.availHeight - height) / 2);  // Initialize history.  getWebNavigation().sessionHistory =     Components.classes["@mozilla.org/browser/shistory;1"]              .createInstance(Components.interfaces.nsISHistory);  gClickSelectsAll = getBoolPref("browser.urlbar.clickSelectsAll", true);    setTimeout(focusSearch, 0);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/0245548c6d1a12a2889d51c26a3c56b619876d43/help.js/clean/toolkit/components/help/content/help.js