rem: gSearchDateSeparator = pref.getComplexValue("mailnews.search_date_separator", Components.interfaces.nsIPrefLocalizedString); 
add:  if (gSearchDateFormat == 0) getLocaleShortDateFormat(); else { if (gSearchDateFormat < 1 || gSearchDateFormat > 6) gSearchDateFormat = 3;  gSearchDateSeparator = pref.getComplexValue("mailnews.search_date_separator", Components.interfaces.nsIPrefLocalizedString); } 
context: function initializeSearchDateFormat(){  if (gSearchDateFormat)    return;  // get a search date format option and a seprator  try {    var pref = Components.classes["@mozilla.org/preferences-service;1"]                                 .getService(Components.interfaces.nsIPrefBranch);    gSearchDateFormat =               pref.getComplexValue("mailnews.search_date_format",                                     Components.interfaces.nsIPrefLocalizedString);    gSearchDateFormat = parseInt(gSearchDateFormat);    if (gSearchDateFormat < 1 || gSearchDateFormat > 6)      gSearchDateFormat = 3;    gSearchDateSeparator =               pref.getComplexValue("mailnews.search_date_separator",                                     Components.interfaces.nsIPrefLocalizedString);  } catch (ex) {    // set to mm/dd/yyyy in case of error    gSearchDateFormat = 3;    gSearchDateSeparator = "/";  }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/6f33a29d9b516eb39ef118e2e5f7e9bce8c2bd8d/searchTermOverlay.js/clean/mailnews/base/search/resources/content/searchTermOverlay.js