 document.getElementById("lockSelected").hidden = !prefSelected || isLocked; document.getElementById("unlockSelected").hidden = !prefSelected || !isLocked; 
function updateContextMenu(){  var lockCol = PREF_IS_LOCKED;  var typeCol = nsIPrefBranch.PREF_STRING;  var valueCol = "";  var copyDisabled = true;  var prefSelected = view.selection.currentIndex >= 0;  if (prefSelected) {    var prefRow = gPrefView[view.selection.currentIndex];    lockCol = prefRow.lockCol;    typeCol = prefRow.typeCol;    valueCol = prefRow.valueCol;    copyDisabled = false;  }  var copyPref = document.getElementById("copyPref");  copyPref.setAttribute("disabled", copyDisabled);  var copyName = document.getElementById("copyName");  copyName.setAttribute("disabled", copyDisabled);  var copyValue = document.getElementById("copyValue");  copyValue.setAttribute("disabled", copyDisabled);  var resetSelected = document.getElementById("resetSelected");  resetSelected.setAttribute("disabled", lockCol != PREF_IS_USER_SET);  var canToggle = typeCol == nsIPrefBranch.PREF_BOOL && valueCol != "";  // indicates that a pref is locked or no pref is selected at all  var isLocked = lockCol == PREF_IS_LOCKED;  var modifySelected = document.getElementById("modifySelected");  modifySelected.setAttribute("disabled", isLocked);  modifySelected.hidden = canToggle;  var toggleSelected = document.getElementById("toggleSelected");  toggleSelected.setAttribute("disabled", isLocked);  toggleSelected.hidden = !canToggle;  document.getElementById("lockSelected").hidden = !prefSelected || isLocked;  document.getElementById("unlockSelected").hidden = !prefSelected || !isLocked;}
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/229e4d09247fb121d2f2f3c0a82ea598ad90e072/config.js/clean/toolkit/components/viewconfig/content/config.js