// SpecialDay=1;		// 0=none, 1=Sunday, 2=Monday, . . . 7=Saturday
// ColorBackground="ffffcc";
// ColorSpecialDay = "red";
// ColorToday = "green";
// ColorEvent = "blue";
// var showAltDate = false;  	// add display of alternate date using results from user supplied "getAltMonth(dy, mo, yr, last)" and "getAltDate(dy, mo, yr)" functions
// showHolidays = false; 	// add display of holidays using result from user supplied "holidays(dy, mo, yr)" function
// showAltHoly = false; 		// add display of alternate holidays using result from user supplied "getAltHoly(dy, mo, yr)" function
// showMsgBox = true; 		// span empty cells (before 1st day and after last) for messageBox use
// showMini = true; 		// add minimonth display of prior and next months if first and/or last boxes are available 
// showNav = true; 		// enable month navigation (might disable for print version)
// showImages = true; 		// enable event images (might disable for print version)
// showLinks = true; 		// enable event hyperlinks (might disable for print version)
// msgBoxColor = "#ffcc99";
// navColor = "#ffff99";
// imageAlign = "left"; 		// default event image alignment
// imageScale = 100;		// percent scale factor for images
// altAlign = true; 		// alternate left/right alignment of event images on same date for readability
// DefaultFormat = "custom"; 	// for compatibility; set to "layer" to simplify formatting
// ExportPage = ""; 		// name of html page for displaying event text for export
// PrintPage = ""; 		// name of html page for printer-friendly format

// all format codes must have "|" to separate before and after tags
// DateFontSize=5;
// AltDateFormat = "<font color=#999999 size=2>|</font>";
// MonthFormat = "<font size=" + DateFontSize + "><b>|</b></font>";
// AltMonthFormat = "<br><font color=#999999 size=" + DateFontSize/2 + ">|</font>";
// HolidayFormat = "<font color=#999999 size=2><b><center>|</center></b></font>";
// AltHolyFormat = "<font  size=2><b><center>|</center></b></font>";
// LayerFormat = "<font size=2>|</font>";

// msgBox message (it will only be shown IF it finds enough space)
//defaultMsgBox = "Note: The information here may not be current; please confirm dates and times.<p>";

FirstMonth = 200404; 	// start calendar in month where sample data starts for "jump to" target in samples

// map alternate date and holiday functions to user supplied functions here
altDateStyle = 2;
altMonthStyle = 1;
function getAltMonth(first, month, year, last) {
	var tmp = my_date(first, month, year, altMonthStyle) + " - " + my_date(last, month, year, altMonthStyle);
	return tmp;
}
function getAltDate(day, month, year) { return my_date(day, month, year, altDateStyle); }
function holidays(day, month, year) { return my_holiday(day, month, year); }
function getAltHoly(day, month, year) { return my_alt_holiday(day, month, year); }