rem: /* The following isn't exactly right. It should reload after the next event happens. */ 
add: /* The following isn't exactly right. It should actually reload after the next event happens. */ 
context: function unifinderShowFutureEventsOnly( event ){   gEventSource.onlyFutureEvents = (event.target.getAttribute( "checked" ) == "true" );      var eventTable = gEventSource.getCurrentEvents();   refreshEventTree( eventTable );   /* The following isn't exactly right. It should reload after the next event happens. */   // get the current time   var now = new Date();      var tomorrow = new Date( now.getFullYear(), now.getMonth(), ( now.getDate() + 1 ) );      var milliSecsTillTomorrow = tomorrow.getTime() - now.getTime();      setTimeout( "refreshEventTree( eventTable )", milliSecsTillTomorrow );}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/766f6b5da18c8697a73c5e9a3b9483cf778d2777/unifinder.js/buggy/calendar/resources/content/unifinder.js