rem: date.setType(this.DateType); 
add: date.setType(cal.DateType); 
context: Calendar.tableMouseUp = function(ev) {        var cal = Calendar._C;        if (!cal) {                return false;        }        if (cal.timeout) {                clearTimeout(cal.timeout);        }        var el = cal.activeDiv;        if (!el) {                return false;        }        var target = Calendar.getTargetElement(ev);        ev || (ev = window.event);        Calendar.removeClass(el, "active");        if (target == el || target.parentNode == el) {                Calendar.cellClick(el, ev);        }        var mon = Calendar.findMonth(target);        var date = null;        if (mon) {                date = new Date(cal.date);                date.setType(this.DateType);                if (mon.month != date.getMonth()) {                        date.setMonth(mon.month);                        cal.setDate(date);                        cal.dateClicked = false;                        cal.callHandler();                }        } else {                var year = Calendar.findYear(target);                if (year) {                        date = new Date(cal.date);                        date.setType(this.DateType);                        if (year.year != date.getFullYear()) {                                date.setFullYear(year.year);                                cal.setDate(date);                                cal.dateClicked = false;                                cal.callHandler();                        }                }        }        with (Calendar) {                removeEvent(document, "mouseup", tableMouseUp);                removeEvent(document, "mouseover", tableMouseOver);                removeEvent(document, "mousemove", tableMouseOver);                cal._hideCombos();                _C = null;                return stopEvent(ev);        }};
meta: 6102	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6102/e1fc5f18ea067f5f12900526ebb601b4ee239917/calendar.js/clean/interface/IBSng/js/calendar/calendar.js