This implementation modifies the default Calendar to allow for selection of multiple values. This is accomplished by simply changing an option in the calendar configuration options:
var cal1;
function init() {
cal1 = new YAHOO.widget.Calendar("cal1", "cal1Container");
cal1.Options.MULTI_SELECT = true;
cal1.render();
}