rem: var langName = selectedItem.firstChild.firstChild.getAttribute("data"); 
add: var langName = selectedItem.firstChild.firstChild.getAttribute("value"); 
context: function onOK(){  var tree = document.getElementById("langList");  var selectedItem = tree.selectedItems.length ? tree.selectedItems[0] : null;  if (selectedItem) {    var langName = selectedItem.firstChild.firstChild.getAttribute("data");    var langStore = opener.document.getElementById("ProfileLocale");    if (langStore)      langStore.setAttribute("data", langName);  }  window.close();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/12d103bf2c2751de52cc29ea7ab4ff834278b8e2/selectLang.js/buggy/profile/resources/content/selectLang.js