rem: var autoOpenSearchPanel = pref.GetBoolPref("browser.search.opensidebarsearchpanel"); 
add: var autoOpenSearchPanel = pref.getBoolPref("browser.search.opensidebarsearchpanel"); 
context: function UpdateInternetSearchResults(event){  // XXX This somehow causes a big leak, back to the old way  //     till we figure out why. See bug 61886.  // var url = getWebNavigation().currentURI.spec;  var url = _content.location.href;  if (url) {    try {      var search = Components.classes["@mozilla.org/rdf/datasource;1?name=internetsearch"]                             .getService(Components.interfaces.nsIInternetSearchService);      var searchInProgressFlag = search.FindInternetSearchResults(url);      if (searchInProgressFlag) {        var autoOpenSearchPanel = pref.GetBoolPref("browser.search.opensidebarsearchpanel");        if (autoOpenSearchPanel)          RevealSearchPanel();      }    } catch (ex) {    }  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/3edc819898ac6c062c72851e4d1ae1bc218b8c85/fastnav.js/clean/xpfe/browser/resources/content/fastnav.js