add:  var askEveryTimeHidden = document.getElementById("askEveryTimeHidden"); askEveryTimeHidden.setAttribute("checked",(radiogroup.value == 1)?"true":"false"); 
context: function changePasswordSettings(){  var askTimes = 0;  var timeout = internal_token.getAskPasswordTimeout();  var timeoutField = document.getElementById("passwordTimeout");  var radiogroup = document.getElementById("passwordAskTimes");  switch ( radiogroup.value ) {  case "0":     timeoutField.setAttribute("disabled", true);    askTimes = nsIPK11Token.ASK_FIRST_TIME;    break;  case "1":     timeoutField.setAttribute("disabled", true);    askTimes = nsIPK11Token.ASK_EVERY_TIME;    break;  case "2":    timeoutField.removeAttribute("disabled");    timeoutField.focus();    timeout = timeoutField.value;    var re = new RegExp("^[0-9]+$");    if (!re.test(timeout)) {      timeout = "1";    }    askTimes = nsIPK11Token.ASK_EXPIRE_TIME;    break;  }  internal_token.setAskPasswordDefaults(askTimes, timeout);}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/d2f2acaa18b1f75cb7340861719097fc287fb1e4/pref-masterpass.js/buggy/security/manager/pki/resources/content/pref-masterpass.js