This event calls user-defined handlers (if there are any) and passes the following parameter:
mCal.attachEvent("onClick",function(date){ alert("Date is set to "+date) })
In case of double calendar there are additional parameters:
mDCal.attachEvent("onClick",function(date,obj,type){ alert("Date is set to "+date+" in the "+type+" calendar"); })