rem: var elements = tree.getElementsByAttribute("value", selectedLanguage); 
add: var elements = listbox.getElementsByAttribute("value", selectedLanguage); 
context: function Startup(){  var selectedLanguage = window.arguments.length ? window.arguments[0] : null;  var tree = document.getElementById("langList");  if (selectedLanguage) {    var elements = tree.getElementsByAttribute("value", selectedLanguage);    if (elements.length)      tree.selectItem(elements[0].parentNode.parentNode);  }  else {      tree.selectedIndex = 0;  }  var selectedRegion = window.arguments.length ? window.arguments[1] : null;  var list = document.getElementById("regionList");  if (selectedRegion) {    elements = list.getElementsByAttribute("value", selectedRegion);    if (elements.length)      list.selectedItem = elements[0];  } else {      list.selectedIndex = 1;  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/07d96867f11683becf5e1a6ca5e64e6a9324c957/selectLang.js/clean/profile/resources/content/selectLang.js