rem:  if (gSearchInput.searchMode == 4 /* find in page */ || gSearchInput.value == "" || gSearchInput.showingSearchCriteria) 
add:  GetSearchInput(); if (!gSearchInput ||gSearchInput.value == "" || gSearchInput.showingSearchCriteria) 
context: function InitQuickSearchPopup(){  // disable the create virtual folder menu item if the current radio  // value is set to Find in message since you can't really  create a VF from find  // in message  if (gSearchInput.searchMode == 4 /* find in page */ || gSearchInput.value == "" || gSearchInput.showingSearchCriteria)    document.getElementById('quickSearchSaveAsVirtualFolder').setAttribute('disabled', 'true');  else    document.getElementById('quickSearchSaveAsVirtualFolder').removeAttribute('disabled');}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/8fae567700dff9bacc0ff6ab8ee222df69b72497/searchBar.js/clean/mail/base/content/searchBar.js