SpecialDay=1;		// 0=none, 1=Sunday, 2=Monday, . . . 7=Saturday
var ColorBackground="#ffffff";
var ColorSpecialDay="#3D83C2";
var ColorToday="#1CBBA4";
var ColorEvent="#B41F23";
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 = false; 		// 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 = "#ffffff";
navColor = "#E7EDF5";
imageAlign = "right"; 		// 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
DateFontSize=3;
ExportPage = "sample_export.html";
PrintPage = "sample_print.html";
// all format codes must have "|" to separate before and after tags
var AltDateFormat="<font color=#999999 size=2>|</font>";
var MonthFormat="<font size="+DateFontSize+"><b>|</b></font>";
var AltMonthFormat="<br><font color=#999999 size="+DateFontSize/2 + ">|</font>";
var HolidayFormat="<font color=#999999 size=2><b><center>|</center></b></font>";
var AltHolyFormat="<font  size=2><b><center>|</center></b></font>";
var DefaultLayerFormat = "<font face=\"serif\" size=2 color=\"green\"><center><b>|</b></center></font>";
var MsgBoxFormat="<font size=2>|</font>";
var defaultMsgBox="<p>Message</p>";


// 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); }