fires after a user has selected a date
$$("calendar1").attachEvent("onAfterDateSelect", function(date){ //... some code here ... });