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