fires when a user clicks on a date but before it is selected in the calendar
$$('calendar1').attachEvent("onAfterDateSelect", function(date){ //... some code here ... });