

if (Calendar) {
	// "afterCreate" hooking...
	Calendar.prototype.__oldCreate__ = Calendar.prototype.create;
	Calendar.prototype.create = function (_par) {
		this.__oldCreate__(_par);
		// remove "year" cells.
		var r = $(this.element).select('.headrow');
		if (r && r[0]) {
			var c = r[0].select('td');
			if (c) {
				if ($(c[0])) $(c[0]).remove();
				if (c[1]) {
					if(c[1].colSpan) c[1].colSpan = 2;
					else c[1].setAttribute('colspan', 2);
				}
				if (c[3]) {
					if(c[3].colSpan) c[3].colSpan = 2;
					else c[3].setAttribute('colspan', 2);
				}
				if ($(c[4])) $(c[4]).remove();
			}
		}
	};
}
