//A function such as those below, is required for EVERY "calendar" template field in an activate template
//The two functions below originate from the Vacancies template  
function calendarInitilisation(strTemplateName) {
//debugger;

		//>>> THis block is one you should duplicate & change for new calendar fields
if (strTemplateName == "Events") {
		Calendar.setup(		{
							inputField : "txtDate",
							ifFormat : "%a, %b %e, %Y",
							button : "imgStartDate",
							align : "cR",
							singleClick : false
							}
		);  
		//<<< THis block is one you should duplicate & change for new calendar fields		
	} else if (strTemplateName == "News feed") {
		Calendar.setup(		{
							inputField : "txtDate",
							ifFormat : "%a, %b %e, %Y",
							daFormat : "%a, %b %e, %Y",
							button : "imgStartDate",
							align : "cR",
							singleClick : false
							}
		);  		
	}

}



