rem: else if(typeFlag == bundle.GetStringFromName("deleteEmailCertFlag")) 
add: else if(typeFlag == "others_tab") 
context: function setWindowName(){  gParams = window.arguments[0].QueryInterface(nsIDialogParamBlock);    //  Get the cert from the cert database  certdb = Components.classes[nsX509CertDB].getService(nsIX509CertDB);    var typeFlag = gParams.GetString(0);  var numberOfCerts = gParams.GetInt(0);  var dbkey;  for(var x=0; x<numberOfCerts;x++)  {     dbkey = gParams.GetString(x+1);     certs[x] = certdb.findCertByDBKey(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");  }  else if(typeFlag == bundle.GetStringFromName("deleteSslCertFlag"))  {     title = bundle.GetStringFromName("deleteSslCertTitle");     confirm = bundle.GetStringFromName("deleteSslCertConfirm");     impact = bundle.GetStringFromName("deleteSslCertImpact");  }  else if(typeFlag == bundle.GetStringFromName("deleteCaCertFlag"))  {     title = bundle.GetStringFromName("deleteCaCertTitle");     confirm = bundle.GetStringFromName("deleteCaCertConfirm");     impact = bundle.GetStringFromName("deleteCaCertImpact");  }  else if(typeFlag == bundle.GetStringFromName("deleteEmailCertFlag"))  {     title = bundle.GetStringFromName("deleteEmailCertTitle");     confirm = bundle.GetStringFromName("deleteEmailCertConfirm");     impact = bundle.GetStringFromName("deleteEmailCertImpact");  }  else  {     return;  }  var confirReference = document.getElementById('confirm');  var impactReference = document.getElementById('impact');  document.title = title;    setText("confirm",confirm);  var box=document.getElementById("certlist");  var text;  for(x=0;x<certs.length;x++)  {    if (!certs[x])      continue;    text = document.createElement("text");    text.setAttribute("value",certs[x].commonName);    box.appendChild(text);  }  setText("impact",impact);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/a6ffe70027cc4112dbf1f328c3573cb806deaff0/deletecert.js/clean/security/manager/pki/resources/content/deletecert.js