rem: helpUrl = "chrome: 
add: helpUrl = "delete_email_certs" 
context: function setWindowName(){  var params = window.arguments[0].QueryInterface(nsIDialogParamBlock);    //  Get the cert from the cert database  certdb = Components.classes[nsX509CertDB].getService(nsIX509CertDB);    var typeFlag = params.GetString(0);  var numberOfCerts = params.GetInt(0);  var dbkey;  for(var x=0; x<numberOfCerts;x++)  {     dbkey = params.GetString(x+1);     certs[x] = certdb.getCertByDBKey(dbkey , null);  }    var bundle = srGetStrBundle("chrome://pippki/locale/pippki.properties");  var title;  var confirm;  var impact;    if(typeFlag == bundle.GetStringFromName("deleteUserCertFlag"))  {     title = bundle.GetStringFromName("deleteUserCertTitle");     confirm = bundle.GetStringFromName("deleteUserCertConfirm");     impact = bundle.GetStringFromName("deleteUserCertImpact");     helpUrl = "chrome://help/content/help.xul?delete_my_certs"  }  else if(typeFlag == bundle.GetStringFromName("deleteSslCertFlag"))  {     title = bundle.GetStringFromName("deleteSslCertTitle");     confirm = bundle.GetStringFromName("deleteSslCertConfirm");     impact = bundle.GetStringFromName("deleteSslCertImpact");     helpUrl = "chrome://help/content/help.xul?delete_web_certs"  }  else if(typeFlag == bundle.GetStringFromName("deleteCaCertFlag"))  {     title = bundle.GetStringFromName("deleteCaCertTitle");     confirm = bundle.GetStringFromName("deleteCaCertConfirm");     impact = bundle.GetStringFromName("deleteCaCertImpact");     helpUrl = "chrome://help/content/help.xul?delete_ca_certs"     }  else if(typeFlag == bundle.GetStringFromName("deleteEmailCertFlag"))  {     title = bundle.GetStringFromName("deleteEmailCertTitle");     confirm = bundle.GetStringFromName("deleteEmailCertConfirm");     impact = bundle.GetStringFromName("deleteEmailCertImpact");     helpUrl = "chrome://help/content/help.xul?delete_email_certs"  }  else  {     return;  }  var windowReference = document.getElementById('deleteCertificate');  var confirReference = document.getElementById('confirm');  var impactReference = document.getElementById('impact');  windowReference.setAttribute("title", title);    setText("confirm",confirm);  var box=document.getElementById("certlist");  var text;  for(x=0;x<certs.length;x++)  {    text = document.createElement("text");    text.setAttribute("value",certs[x].commonName);    box.appendChild(text);  }  setText("impact",impact);}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/86c536830218906547cc7feddc74e1ee70b93aa2/deletecert.js/clean/security/manager/pki/resources/content/deletecert.js