var arrayOfPrefs = preference.value.split(/\s*,\s*/); 
var arrayOfPrefs = preference.value.toLowerCase().split(/\s*,\s*/); 
  addLanguage: function ()  {    var selectedID = this._availableLanguages.selectedItem.id;    var preference = document.getElementById("intl.accept_languages");    var arrayOfPrefs = preference.value.split(/\s*,\s*/);    for (var i = 0; i < arrayOfPrefs.length; ++i ){      if (arrayOfPrefs[i] == selectedID)        return;    }          this._selectedItemID = selectedID;        if (preference.value == "")       preference.value = selectedID;    else      preference.value += "," + selectedID;      this._acceptLanguages[selectedID] = true;    this._availableLanguages.selectedItem = null;        // Reuild the available list with the added item removed...    this._buildAvailableLanguageList();         this._availableLanguages.setAttribute("label", this._availableLanguages.getAttribute("label2"));  },
5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5459/acbe5a25685fd91480459d400b06e6ff7f78c68a/languages.js/clean/browser/components/preferences/languages.js