add:  if (parent.hPrefWindow.getPrefIsLocked(document.getElementById("up").getAttribute("prefstring"))) document.getElementById("up").disabled = true; if (parent.hPrefWindow.getPrefIsLocked(document.getElementById("down").getAttribute("prefstring"))) document.getElementById("down").disabled = true; if (parent.hPrefWindow.getPrefIsLocked(document.getElementById("add").getAttribute("prefstring"))) document.getElementById("add").disabled = true; if (parent.hPrefWindow.getPrefIsLocked(document.getElementById("remove").getAttribute("prefstring"))) document.getElementById("remove").disabled = true; 
context: function SelectLanguage() {  if (active_languages.selectedItems.length) {    document.getElementById("remove").disabled = false;    var selected = active_languages.selectedItems[0];    document.getElementById("down").disabled = !selected.nextSibling;    document.getElementById("up").disabled = !selected.previousSibling;  }  else {    document.getElementById("remove").disabled = true;    document.getElementById("down").disabled = true;    document.getElementById("up").disabled = true;  }} // SelectLanguage
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/2d3710c7615f3299d7593f42b2a4e9ad6b3f5114/pref-languages.js/clean/suite/common/pref/pref-languages.js