fires when the user clicks on an arrow in the calendar's header
myCalendar.attachEvent("onArrowClick", function(date, nextdate){ // your code here });