rem: } 
context: function changeQuickSearchMode(aMenuItem){  viewDebug("changing quick search mode\n");  // extract the label and set the search input to match it  var oldSearchMode = gSearchInput.searchMode;  gSearchInput.searchMode = aMenuItem.value;  if (gSearchInput.value == "" || gSearchInput.showingSearchCriteria)  {    gSearchInput.showingSearchCriteria = true;    if (gSearchInput.value) //       gSearchInput.setSearchCriteriaText();  }    // if the search box is empty, set showing search criteria to true so it shows up when focus moves out of the box  if (!gSearchInput.value)       gSearchInput.showingSearchCriteria = true;  else if (gSearchInput.showingSearchCriteria) // if we are showing criteria text and the box isn't empty, change the criteria text    gSearchInput.setSearchCriteriaText();       else if (oldSearchMode != gSearchInput.searchMode) // the search mode just changed so we need to redo the quick search  {    if (gHighlightedMessageText)      removeHighlighting(); // remove any existing highlighting in the message before switching gears    onEnterInSearchBar();  }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/8fae567700dff9bacc0ff6ab8ee222df69b72497/searchBar.js/clean/mail/base/content/searchBar.js