Click on Calendar Date - launch window?

I am evaluating your calendar and wondering if it would be possible to click on a date and launch a window? If so, can you provide a simple code to help me get started?

Can be done as

cal.setOnClickHandler(function(date){
    window.open(“some_url?date”=date);
    return true;
});