rem: tree.selectItem(elements[0].parentNode.parentNode); 
add: listbox.selectItem(elements[0]); 
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: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/d38a0937d9c93a0a9d913e2ac781e4328bb8cc73/selectLang.js/clean/profile/resources/content/selectLang.js