rem: var radioitem = radiogroup.childNodes[askTimes]; if (askTimes == 2) {  radioitem = radioitem.firstChild; 
add: var radioitem; switch (askTimes) { case 0: radioitem = document.getElementById("askFirstTime"); break; case 1: radioitem = document.getElementById("askEveryTime"); break; case 2: radioitem = document.getElementById("askTimeout"); break; 
context: function onMasterPasswordLoad(){  var tokendb = Components.classes[nsPK11TokenDB].getService(nsIPK11TokenDB);  internal_token = tokendb.getInternalKeyToken();  var askTimes = internal_token.getAskPasswordTimes();  switch (askTimes) {  case nsIPK11Token.ASK_FIRST_TIME:  askTimes = 0; break;  case nsIPK11Token.ASK_EVERY_TIME:  askTimes = 1; break;  case nsIPK11Token.ASK_EXPIRE_TIME: askTimes = 2; break;  }  var radiogroup = document.getElementById("passwordAskTimes");  var radioitem = radiogroup.childNodes[askTimes];  if (askTimes == 2) {    // The last radio is a box, because it also has the timeout textbox    radioitem = radioitem.firstChild;  }  radiogroup.selectedItem = radioitem;  var timeout = internal_token.getAskPasswordTimeout();  var timeoutField = document.getElementById("passwordTimeout");  timeoutField.setAttribute("value", timeout);    changePasswordSettings();}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/080c56be190f483de59f7191c78945df9459dc7c/pref-masterpass.js/clean/security/manager/pki/resources/content/pref-masterpass.js