add: } else if (orphan_tab.selected) { cert = orphanTreeView.getCert(j); 
context: function getSelectedCerts(){  var ca_tab = document.getElementById("ca_tab");  var mine_tab = document.getElementById("mine_tab");  var others_tab = document.getElementById("others_tab");  var websites_tab = document.getElementById("websites_tab");  var items = null;  if (ca_tab.selected) {    items = caTreeView.selection;  } else if (mine_tab.selected) {    items = userTreeView.selection;  } else if (others_tab.selected) {    items = emailTreeView.selection;  } else if (websites_tab.selected) {    items = serverTreeView.selection;  }  selected_certs = [];  var cert = null;  var nr = 0;  if (items != null) nr = items.getRangeCount();  if (nr > 0) {    for (var i=0; i<nr; i++) {      var o1 = {};      var o2 = {};      items.getRangeAt(i, o1, o2);      var min = o1.value;      var max = o2.value;      for (var j=min; j<=max; j++) {        if (ca_tab.selected) {          cert = caTreeView.getCert(j);        } else if (mine_tab.selected) {          cert = userTreeView.getCert(j);        } else if (others_tab.selected) {          cert = emailTreeView.getCert(j);        } else if (websites_tab.selected) {          cert = serverTreeView.getCert(j);        }        if (cert) {          var sc = selected_certs.length;          selected_certs[sc] = cert;          selected_cert_index[sc] = j;        }      }    }  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/26e94086b6b456640a45ec7ce1f664bb95171e6d/certManager.js/clean/security/manager/pki/resources/content/certManager.js