rem: notrustssl.setAttribute("checked", "true"); 
add: trustssl.radioGroup.selectedItem = notrustssl; 
context: function doLoadForSSLCert(){  var dbkey = self.name;  //  Get the cert from the cert database  certdb = Components.classes[nsX509CertDB].getService(nsIX509CertDB);  cert = certdb.getCertByDBKey(dbkey, null);  var bundle = srGetStrBundle("chrome://pippki/locale/pippki.properties");  var windowReference = document.getElementById('editWebsiteCert');  var message1 = bundle.formatStringFromName("editTrustSSL",                                             [ cert.commonName ],                                             1);  setText("certmsg", message1);  setText("issuer", cert.issuerName);  var cacert = getCaCertForServerCert(cert);  if(cacert == null)  {     setText("explainations",bundle.GetStringFromName("issuerNotKnown"));  }  else if(certdb.getCertTrust(cacert, nsIX509Cert.CA_CERT,                                                nsIX509CertDB.TRUSTED_SSL))  {     setText("explainations",bundle.GetStringFromName("issuerTrusted"));  }  else  {     setText("explainations",bundle.GetStringFromName("issuerNotTrusted"));  }/*  if(cacert == null)  {     var editButton = document.getElementById('editca-button');	 editButton.setAttribute("disabled","true");  }*/    var trustssl = document.getElementById("trustSSLCert");  var notrustssl = document.getElementById("dontTrustSSLCert");  if (certdb.getCertTrust(cert, nsIX509Cert.SERVER_CERT,                           nsIX509CertDB.TRUSTED_SSL)) {    trustssl.setAttribute("checked", "true");  } else {    notrustssl.setAttribute("checked", "true");  }  var xulWindow = document.getElementById("editWebsiteCert");  var wdth = window.innerWidth; // THIS IS NEEDED,  window.sizeToContent();  xulWindow.setAttribute("width",window.innerWidth + 30);  var hght = window.innerHeight; // THIS IS NEEDED,  window.sizeToContent();  xulWindow.setAttribute("height",window.innerHeight + 70);}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/9d7a5cb5c50d0f4f579098871a89ce3f49516bf5/editcerts.js/clean/security/manager/pki/resources/content/editcerts.js