rem: var tokenName = items[t].firstChild.lastChild.getAttribute('value'); var certName  = items[t].firstChild.firstChild.getAttribute('value'); 
add: var tokenName = items[t].firstChild.lastChild.getAttribute('label'); var certName  = items[t].firstChild.firstChild.getAttribute('label'); 
context: function getSelectedCerts(){  var mine_tab = document.getElementById("mine_tab");  //var others_tab = document.getElementById("others_tab");  var websites_tab = document.getElementById("websites_tab");  var tree = document.getElementById('ca_treeset');  if (mine_tab.selected) {    tree = document.getElementById('mine_treeset');  } else if (websites_tab.selected) {    tree = document.getElementById('websites_treeset');  }  var items = tree.selectedItems;  if (items.length > 0) {    selected_certs = [];    for (var t=0; t<items.length; t++) {      var tokenName = items[t].firstChild.lastChild.getAttribute('value');      var certName  = items[t].firstChild.firstChild.getAttribute('value');      selected_certs[selected_certs.length] = [tokenName, certName];    }  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/63e50c35b0367e2528de896fb2b720712b9c0c5e/certManager.js/buggy/security/manager/pki/resources/content/certManager.js