rem: var checked = parentCheckBox.checked;  if (checked) { checkBox.removeAttribute("disabled"); textField.removeAttribute("disabled"); textLabel.removeAttribute("disabled"); } else { checkBox.setAttribute("disabled", "true"); textField.setAttribute("disabled", "true"); textLabel.setAttribute("disabled", "true"); } 
add: var checked = document.getElementById("server.doBiff").checked; if (checked) broadcaster.removeAttribute("disabled"); else broadcaster.setAttribute("disabled", "true"); 
context: function setupBiffUI(){     var parentCheckBox = document.getElementById('server.doBiff');    var checkBox = document.getElementById('server.downloadOnBiff');    var textField = document.getElementById('server.biffMinutes');    var textLabel = document.getElementById('biffEnd');    var checked = parentCheckBox.checked;    if (checked) {      checkBox.removeAttribute("disabled");      textField.removeAttribute("disabled");      textLabel.removeAttribute("disabled");    }    else {      checkBox.setAttribute("disabled", "true");      textField.setAttribute("disabled", "true");      textLabel.setAttribute("disabled", "true");    } }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/4b2be984f79418d4d563657a052fdd2334be090f/am-server.js/clean/mailnews/base/prefs/resources/content/am-server.js