called after month in selector is changed.
$$("calendar1").attachEvent("onAfterMonthChange", function(prev_date, next_date){ //... some code here ... });