add:  if (params) {  params.SetInt(1, 0); }  if (params) {  params.SetInt(1, 0); } 
context: function onLoad(){  pw1 = document.getElementById("pw1");  if ("arguments" in window) {    params = window.arguments[0].QueryInterface(nsIDialogParamBlock);    tokenName = params.GetString(1);  } else {    tokenName = self.name;  }  // Set token name in display  var t = document.getElementById("tokenName");  t.setAttribute("value", tokenName);  var bundle = srGetStrBundle("chrome://pippki/locale/pippki.properties");  // If the token is unitialized, don't use the old password box.  // Otherwise, do.  var secmoddb = Components.                  classes[nsPKCS11ModuleDB].                  getService(nsIPKCS11ModuleDB);  var slot = secmoddb.findSlotByName(tokenName);  if (slot) {    var oldpwbox = document.getElementById("oldpw");    if (slot.status == nsIPKCS11Slot.SLOT_UNINITIALIZED ) {      oldpwbox.setAttribute("disabled", "true");      oldpwbox.setAttribute("type", "text");      oldpwbox.setAttribute("value",                             bundle.GetStringFromName("password_not_set"));       oldpwbox.setAttribute("inited", "true");      // Select first password field      document.getElementById('pw1').focus();    } else {      // Select old password field      oldpwbox.setAttribute("inited", "false");      oldpwbox.focus();    }  }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/89024435e7ad43b059d4fb8d50808d84786afb2c/password.js/clean/security/manager/pki/resources/content/password.js