rem: remove1.disabled = !enabled; remove2.disabled = !enabled; 
add: if (enabled && persissionsExist) { remove1.disabled = false; remove2.disabled = false; } else { remove1.disabled = true; remove2.disabled = true; } 
context: function togglePermissionEnabling() {  var enabled = policyButton.checked;  var add = document.getElementById("addPermission");  var remove1 = document.getElementById("removePermission");  var remove2 = document.getElementById("removeAllPermissions");  var description = document.getElementById("popupDescription");  add.disabled = !enabled;  remove1.disabled = !enabled;  remove2.disabled = !enabled;  description.disabled = !enabled;  manageTree.disabled = !enabled;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/d4a340a0fe512fd3e39380349edd929ca2156f3a/pref-features.js/clean/browser/components/prefwindow/content/pref-features.js