rem: if (update && p.flat) { if (typeof p.flatCallback == "function") p.flatCallback(cal); else alert("No flatCallback given -- doing nothing."); return false; } 
context: 	function onSelect(cal) {		var p = cal.params;		var update = (cal.dateClicked || p.electric);		if (update && p.flat) {			if (typeof p.flatCallback == "function")				p.flatCallback(cal);			else				alert("No flatCallback given -- doing nothing.");			return false;		}		if (update && p.inputField) {			p.inputField.value = cal.date.print(p.ifFormat);			if (typeof p.inputField.onchange == "function")				p.inputField.onchange();		}		if (update && p.displayArea)			p.displayArea.innerHTML = cal.date.print(p.daFormat);		if (update && p.singleClick && cal.dateClicked)			cal.callCloseHandler();		if (update && typeof p.onUpdate == "function")			p.onUpdate(cal);	};
meta: 412	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/412/cc0a102fe5cd9f8421b73686dd57c312335278dc/calendar-setup.js/clean/include/jscalendar/calendar-setup.js