var languages = preference.value.split(/\s*,\s*/); 
var languages = preference.value.toLowerCase().split(/\s*,\s*/); 
  readAcceptLanguages: function ()  {    while (this._activeLanguages.hasChildNodes())      this._activeLanguages.removeChild(this._activeLanguages.firstChild);        var selectedIndex = 0;    var preference = document.getElementById("intl.accept_languages");    if (preference.value == "")       return undefined;    var languages = preference.value.split(/\s*,\s*/);    for (var i = 0; i < languages.length; ++i) {      var name = this._getLanguageName(languages[i]);      if (!name)        name = "[" + languages[i] + "]";      var listitem = document.createElement("listitem");      listitem.id = languages[i];      if (languages[i] == this._selectedItemID)        selectedIndex = i;      this._activeLanguages.appendChild(listitem);      listitem.setAttribute("label", name);      // Hash this language as an "Active" language so we don't      // show it in the list that can be added.       this._acceptLanguages[languages[i]] = true;    }    if (this._activeLanguages.childNodes.length > 0) {      this._activeLanguages.ensureIndexIsVisible(selectedIndex);      this._activeLanguages.selectedIndex = selectedIndex;    }    return undefined;  },
5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5459/acbe5a25685fd91480459d400b06e6ff7f78c68a/languages.js/clean/browser/components/preferences/languages.js