fires when a user changes month, year or time in selector
$$("calendar1").attachEvent("onChange", function(date){ //... some code here ... });