rem: gEncryptIfPossible.setAttribute("disabled", true); 
add: document.getElementById('encrypt_mail_if_possible').setAttribute("disabled", true); 
context: function onInit() {  // initialize all of our elements based on the current identity values....  gEncryptionCertName = document.getElementById("identity.encryption_cert_name");  gEncryptIfPossible  =  document.getElementById("identity.encrypt_mail_if_possible");  gEncryptAlways      = document.getElementById("identity.encrypt_mail_always");  gSignCertName       = document.getElementById("identity.signing_cert_name");  gSignMessages       = document.getElementById("identity.sign_mail");  gEncryptionCertName.value = gIdentity.getUnicharAttribute("encryption_cert_name");  gEncryptIfPossible.checked = gIdentity.getBoolAttribute("encrypt_mail_if_possible");  gEncryptAlways.checked = gIdentity.getBoolAttribute("encrypt_mail_always");  if (!gEncryptionCertName.value)  {    gEncryptAlways.setAttribute("disabled", true);  }  // we currently don't support encrypt if possible so keep it disabled for now...  gEncryptIfPossible.setAttribute("disabled", true);  gSignCertName.value = gIdentity.getUnicharAttribute("signing_cert_name");  gSignMessages.checked = gIdentity.getBoolAttribute("sign_mail");  if (!gSignCertName.value)  {    gSignMessages.setAttribute("disabled", true);  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/60fa225bd22308cc905e99d23d67ac841e4d5a63/am-smime.js/clean/mailnews/extensions/smime/resources/content/am-smime.js