fires on clicking the Clear button
$$("calendar1").attachEvent("onDateClear", function(){ //some code here });