add:  if( document.getElementById( "unifinder-clear-results-button" ) ) { if( searchText.length <= 0 ) document.getElementById( "unifinder-clear-results-button" ).setAttribute( "disabled", "true" ); else document.getElementById( "unifinder-clear-results-button" ).removeAttribute( "disabled" ); } 
context: function unifinderSearchKeyPress( searchTextItem, event ){   var searchText = searchTextItem.value;      if ( searchTextItem.value == '' )    {      gSearchEventTable = gEventSource.getCurrentEvents();   }   else if ( searchTextItem.value == " " )    {      searchTextItem.value = '';   }   else   {      var FieldsToSearch = new Array( "title", "description", "location" );      gSearchEventTable = gEventSource.search( searchText, FieldsToSearch );   }       refreshSearchTree( gSearchEventTable );}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/f4887fc66453b044bcc66560a8b6f0d672f8c337/unifinder.js/buggy/calendar/resources/content/unifinder.js