rem: colNode = navWindow._content.document.getElementById("AvailabilityColumn"); 
add: colNode = navWindow.content.document.getElementById("AvailabilityColumn"); 
context: function onNavWindowLoad() {  var navWindow = getNavigatorWindow(true);  // hide various columns  if (navWindow && "_content" in navWindow && "isMozillaSearchWindow" in navWindow._content) {    colNode = navWindow._content.document.getElementById("RelevanceColumn");    if (colNode)      colNode.setAttribute("hidden", "true");    colNode = navWindow._content.document.getElementById("PriceColumn");    if (colNode)      colNode.setAttribute("hidden", "true");    colNode = navWindow._content.document.getElementById("AvailabilityColumn");    if (colNode)      colNode.setAttribute("hidden", "true");  }  // get user text to find  var textNode = document.getElementById("sidebar-search-text");  if (!textNode.value) {    alert(searchBundle.getString("enterstringandlocation"));    return;  }  var searchMode = nsPreferences.getIntPref("browser.search.mode", 0);  var engineURIs = [];  if (searchMode > 0) {    var foundEngine = false;    var itemNode;    var engineBox = document.getElementById("searchengines");    // in advanced search mode, get selected search engines    // (for the current search category)    for (var x = 0; x < engineBox.childNodes.length; ++x) {      itemNode = engineBox.childNodes[x];      if (itemNode.localName == "listitem" && itemNode.checked) {        var engineURI = itemNode.id;        if (engineURI) {          engineURIs[engineURIs.length] = engineURI;          foundEngine = true;        }      }    }    if (!foundEngine) {      if (getNumEngines() == 1) {        // only one engine in this category, check it        itemNode = engineBox.firstChild;        engineURIs[engineURIs.length] = itemNode.id;      }      else {        for (var i = 0; i < engineBox.childNodes.length; ++i) {          itemNode = engineBox.childNodes[i];          var theID = itemNode.id;          if (theID.indexOf("google.src") != -1) {            engineURIs[engineURIs.length] = theID;            foundEngine = true;            break;          }        }        if (!foundEngine) {          alert(searchBundle.getString("enterstringandlocation"));          return;        }      }    }  }  else  {    var basicEngines = document.getElementById("basicEngineMenu");    engineURIs[0] = basicEngines.selectedItem.id;    debug("basic mode URI = " + engineURIs[0]);  }  if (!gStopButtonText)    gStopButtonText = searchBundle.getString("stopButtonText");  var searchButtonNode = document.getElementById("searchButton");  searchButtonNode.setAttribute("stop", "true");  searchButtonNode.setAttribute("label", gStopButtonText);  var progressNode = top.document.getElementById("statusbar-icon");  if (progressNode)    progressNode.setAttribute("mode", "undetermined");  // run the search  OpenSearch(textNode.value, engineURIs);  switchTab(0);}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/766d404cfe3d0b6d61d9fede0b76e1d13ab33d52/search-panel.js/clean/xpfe/components/search/resources/search-panel.js