rem: var imagesEnabled = document.getElementById("enableImages").checked; var imageBroadcaster = document.getElementById("imageBroadcaster"); imageBroadcaster.setAttribute("disabled", !imagesEnabled); javascriptEnabledChange() 
add: gImagesPref = document.getElementById("enableImagePref"); gImagesEnabled = document.getElementById("enableImages"); gImagesRestricted = document.getElementById("enableRestricted"); var prefValue = gImagesPref.getAttribute("value"); if (!prefValue) prefValue = "0"; switch (prefValue) { case "1": gImagesRestricted.checked=true; case "0": gImagesEnabled.checked=true; } if (!gImagesEnabled.checked) gImagesRestricted.disabled=true; 
context: function Startup(){  policyButton = document.getElementById("popupPolicy");  manageTree = document.getElementById("permissionsTree");  togglePermissionEnabling();  loadPermissions();    var imagesEnabled = document.getElementById("enableImages").checked;  var imageBroadcaster = document.getElementById("imageBroadcaster");  imageBroadcaster.setAttribute("disabled", !imagesEnabled);  javascriptEnabledChange()}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/fafb36d16385164b7657e18a9bb00b4e732c4c91/pref-features.js/clean/browser/components/prefwindow/content/pref-features.js