SpecialDay=0;		  // 0=none, 1=Sunday, 2=Monday, . . . 7=Saturday
ColorBackground="ffefd5"; //papayawhip, default ffffcc yellow
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";  //brown
navColor = "#f5deb3";     //wheat, default = 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 = "layer";  // default = "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

// wrap common format tags around all event text (any embedded tags will supercede)
DefaultLayerFormat = "<font face=\"arial\" size=1 color=\"black\"><center><b>|</b></center></font>";

// all format codes must have "|" to separate before and after tags
DateFontSize=4;
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 = "Compliments of Brownielocks.com Additional holidays may be added at any time.<p>";

FirstMonth = 200612; 	// 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); }