const NHQO = Ci.nsINavHistoryQueryOptions; 
function SetPlace(aSearchString){  var placeURI = ORGANIZER_ROOT_HISTORY_UNSORTED;  var prefService =     Components.classes["@mozilla.org/preferences-service;1"]            .getService(Ci.nsIPrefBranch);  if (prefService.getBoolPref("browser.history.showSessions"))      placeURI += "&showSessions=1";  switch (gHistoryGrouping) {    case "site":      placeURI += "&sort=" + NHQO.SORT_BY_TITLE_ASCENDING;      break;     case "visited":      placeURI += "&sort=" + NHQO.SORT_BY_VISITCOUNT_DESCENDING;      break;     case "lastvisited":      placeURI += "&sort=" + NHQO.SORT_BY_DATE_DESCENDING;      break;     case "dayandsite":      // if there isn't a search string, add the grouping      if (!aSearchString) {        placeURI += "&group=" + NHQO.GROUP_BY_DAY;        placeURI += "&group=" + NHQO.GROUP_BY_HOST;       }      placeURI += "&sort=" + NHQO.SORT_BY_TITLE_ASCENDING;      break;    default: /* "day" */      // if there isn't a search string, add the grouping      if (!aSearchString)        placeURI += "&group=" + NHQO.GROUP_BY_DAY;          placeURI += "&sort=" + NHQO.SORT_BY_TITLE_ASCENDING;      break;  }  gHistoryTree.place = placeURI;}
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/f3275b18cc79e6d147ecd1bbe9776dfec0523c2b/history-panel.js/clean/browser/components/places/content/history-panel.js