rem: searchTerm = escape(searchTerm); 
add: searchTerm = encodeURIComponent(searchTerm); 
context: function showMoreResults(direction){  // XXX check if we are in basic search mode  // get search engine  var engine = document.getElementById("basicEngineMenu").selectedItem;  var engineURI = engine.id;  // get search term  var searchTerm = document.getElementById("sidebar-search-text").value;  searchTerm = escape(searchTerm);  // change page number  if (direction > 0)    ++gPageNumber;  else    --gPageNumber;  // get qualified URL  var searchService = Components.classes[ISEARCH_CONTRACTID].                        getService(nsIInternetSearchService);  var whichButtons = new Object;  whichButtons.value = 0;  var searchURL = searchService.GetInternetSearchURL(engineURI, searchTerm,                     direction, gPageNumber, whichButtons);  doNavButtonEnabling(whichButtons.value, searchService, gPageNumber);  // load URL in navigator  loadURLInContent(searchURL);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/88492d9c995ceda6020251f3d47ec74983301832/search-panel.js/clean/xpfe/components/search/resources/search-panel.js