rem: } 
add: } 
context: function AddAvailableLanguage(){  var Languagename = new String();  var Languageid = new String();  //selected languages  for (var nodeIndex=0; nodeIndex < available_languages.selectedItems.length; nodeIndex++) {    var selItem =  available_languages.selectedItems[nodeIndex];    Languagename    = selItem.getAttribute('label');    Languageid      = selItem.getAttribute('id');    if (!LangAlreadyActive(Languageid)) {      AddListItem(window.opener.document, active_languages, Languageid, Languagename);    }//if  } //loop selected languages  //user-defined languages  var otherField = document.getElementById( "languages.other" );  if (otherField.value) {    /* reject bogus lang strings, INCLUDING those with HTTP "q"       values kludged on the end of them    */    if (!IsRFC1766LangTag(otherField.value)) {      window.alert(prefLangBundle.GetStringFromName("illegalOtherLanguage"));      return false;    }    Languageid      = otherField.value;    Languageid      = Languageid.toLowerCase();    Languagename    = GetLanguageTitle(Languageid);    if (!Languagename)       Languagename = '[' + Languageid + ']';    if (!LangAlreadyActive(Languageid)) {      AddListItem(window.opener.document, active_languages, Languageid, Languagename);    }//if  }  available_languages.clearSelection();  return true;} //AddAvailableLanguage
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/c47b4d9f93aa9d661666edb29290cc3ce295baac/pref-languages.js/clean/xpfe/components/prefwindow/resources/content/pref-languages.js