add: initContextMenu();  
context: function HistorySidebarInit(){  gHistoryTree = document.getElementById("historyTree");  gSearchBox = document.getElementById("search-box");  gHistoryGrouping = document.getElementById("viewButton").                              getAttribute("selectedsort");  if (gHistoryGrouping == "site")    document.getElementById("bysite").setAttribute("checked", "true");  else if (gHistoryGrouping == "visited")     document.getElementById("byvisited").setAttribute("checked", "true");  else if (gHistoryGrouping == "lastvisited")    document.getElementById("bylastvisited").setAttribute("checked", "true");  else if (gHistoryGrouping == "dayandsite")    document.getElementById("bydayandsite").setAttribute("checked", "true");  else    document.getElementById("byday").setAttribute("checked", "true");  // XXXBlake we should persist the last search value  // If it's empty, this will do the right thing and   // just group by the old grouping.  // bug #359073 tracks this RFE  searchHistory(gSearchBox.value);  gSearchBox.focus();}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8395/ebf7da257558be632502fb51cfb4ae6dfda6002c/history-panel.js/clean/browser/components/places/content/history-panel.js