rem:  if (!pref_string) pref_string = "en"; 
context: function Init(){  doSetOKCancel(AddAvailableLanguage);  try {    GetBundles();  }  catch(ex) {  }  ReadAvailableLanguages();  if (!("arguments" in window)) {    //no caller arguments - load base window    try {      active_languages              = document.getElementById('active_languages');      active_languages_treeroot     = document.getElementById('active_languages_root');    } //try    catch(ex) {    } //catch    try {      parent.initPanel('chrome://communicator/content/pref/pref-languages.xul');    }    catch(ex) {      //pref service backup    } //catch    try {        pref_string = parent.hPrefWindow.getPref( "string", "intl.accept_languages");        //fall-back (hard-coded for Beta2, need to move to XUL/DTD)        if (!pref_string) pref_string = "en";    } //try    catch(ex) {    } //catch    LoadActiveLanguages();  } else {    //load available languages popup    try {      //add language popup      available_languages           = document.getElementById('available_languages');      available_languages_treeroot  = document.getElementById('available_languages_root');      active_languages              = window.opener.document.getElementById('active_languages');      active_languages_treeroot     = window.opener.document.getElementById('active_languages_root');      pref_string                   = window.opener.document.getElementById('intlAcceptLanguages').label;    } //try    catch(ex) {    } //catch    LoadAvailableLanguages();  }  SelectLanguage();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/008b5ab4fe17046844db69b61065b4d727414d93/pref-languages.js/buggy/xpfe/components/prefwindow/resources/content/pref-languages.js