rem: var clearButton = document.getElementById("clear"); if (clearButton) { if (gSearchInput.value && (gSearchInput.value != "")) clearButton.removeAttribute("disabled"); else clearButton.setAttribute("disabled", "true"); } 
add: gSearchInput.nextSibling.disabled = !gSearchInput.value; 
context: function SearchInputChanged() {  var clearButton = document.getElementById("clear");  if (clearButton) {    if (gSearchInput.value && (gSearchInput.value != ""))      clearButton.removeAttribute("disabled");    else      clearButton.setAttribute("disabled", "true");  }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/70942413d715e96c31402463319a960bd6fe8ef3/abCommon.js/clean/mailnews/addrbook/resources/content/abCommon.js