rem: askEveryTimeHidden.setAttribute("checked",(radiogroup.value == 1)?"true":"false"); 
add: askEveryTimeHidden.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);  var askEveryTimeHidden = document.getElementById("askEveryTimeHidden");  askEveryTimeHidden.setAttribute("checked",(radiogroup.value == 1)?"true":"false");}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/7a287a04bd6ea3a2ec4cae8b392edcd9d7563f0d/pref-masterpass.js/buggy/security/manager/pki/resources/content/pref-masterpass.js