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