rem: available_languages 			    = document.getElementById('available_languages'); 
add: available_languages           = document.getElementById('available_languages'); 
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').value;    } //try    catch(ex) {    } //catch    LoadAvailableLanguages();  }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/476f40a9ffe840661db8a7547c416a58355c9cd7/pref-languages.js/clean/suite/common/pref/pref-languages.js