function getCal(month1, month2, month3, month4, month5, month6, month7, month8, month9, month10, month11, month12, day1, day2, day3, day4, day5, day6, day7, prevYear, prevMonth, nextMonth, nextYear, apply) {
	var caldef1 =
	{
		firstday : 0,
		dtype : 'dd/MM/yyyy',
		width : 275,
		windoww : 300,
		windowh : 200,
		border_width : 0,
		border_color : 'White',
		multi : true,
		spr : '\r\n',
		dn_css : 'clsDayName',
		cd_css : 'clsCurrentDay',
		tw_css : 'clsCurrentWeek',
		wd_css : 'clsWorkDay',
		we_css : 'clsWeekEnd',
		wdom_css : 'clsWorkDayOtherMonth',
		weom_css : 'clsWeekEndOtherMonth',
		wdomcw_css : 'clsWorkDayOthMonthCurWeek',
		weomcw_css : 'clsWeekEndOthMonthCurWeek',
		wecd_css : 'clsWeekEndCurDay',
		wecw_css : 'clsWeekEndCurWeek',
		preview_css : 'clsPreview',
		highlight_css : 'clsHighLight',
		headerstyle :
		{
			type : 'buttons',
			css : 'clsDayName',
			imgnextm : 'images/forward.jpg',
			imgprevm : 'images/back.jpg',
			imgnexty : 'images/smallForward.gif',
			imgprevy : 'images/smallBack.gif'
		},
		imgapply : 'images/apply.gif',
		preview : true,
		monthnames : [month1, month2, month3, month4, month5, month6, month7,
			month8, month9, month10, month11, month12],
		daynames : [day1, day2, day3, day4, day5, day6, day7],
		txt : [prevYear, prevMonth, nextMonth, nextYear, apply]
	};
	return new CodeThatCalendar(caldef1); 
}

