//myColor="#986858";
myColor="#9f8d61";
SpecialDay=0;		// 0=none, 1=Sunday, 2=Monday, . . . 7=Saturday
ColorBackground="";
//ImageBackground = "images/pawsw1p.gif";
//ColorSpecialDay = "red";
//ColorToday = "green";
ColorEvent = myColor;
// 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 = true; 	// 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 = "#E0D8C8";
navColor = "#FFF0D0";
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 = "layer"; 	// "custom" for compatibility; set to "layer" to simplify formatting
// ExportPage = ""; 		// name of html page for displaying event text for export
PrintPage = "sj_print.htm"; 		// name of html page for printer-friendly format

// all format codes must have "|" to separate before and after tags
DateFontSize=4;
// AltDateFormat = "<font color=#999999 size=2>|</font>";
MonthFormat = "<font size=" + DateFontSize + " color=" + myColor + "><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 color=" + myColor + ">|</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 = 200811; 	// start calendar in month where sample data starts for "jump to" target in samples

DefineLayer("Mansfield","<font color=\"Blue\" size=1>|</font>");
DefineLayer("N. Easton","<font color=\"Green\" size=1>|</font>");
DefineLayer("Taunton","<font color=\"Red\" size=1>|</font>");


// map alternate date and holiday functions to user supplied functions here

function getAltMonth(first, month, year, last) { return ""; }
//function getAltDate(day, month, year) { return ""; }
//function holidays(day, month, year) { return ""; }
function getAltHoly(day, month, year) {	// second Wednesday of EVERY month
	if (day==NthDay(second, wed, month, year)) return "<img src=images/gavel.gif width=30 height=30>Membership Meeting 8:00 PM";
	if (day==NthDay(first, wed, month, year)) return "<img src=images/conformation.gif width=30 height=30>Conformation Training 7:30 PM";
	if (day==NthDay(second, wed, month, year)) return "<img src=images/conformation.gif width=30 height=30>Conformation Training 7:30 PM";
	if (day==NthDay(third, wed, month, year)) return "<img src=images/conformation.gif width=30 height=30>Conformation Training 7:30 PM";
	if (day==NthDay(fourth, wed, month, year)) return "<img src=images/conformation.gif width=30 height=30>Conformation Training 7:30 PM";
	if (day==NthDay(fifth, wed, month, year)) return "<img src=images/conformation.gif width=30 height=30>Conformation Training 7:30 PM";

    if (month==7 && year==2005) {
             return; // skip this particular month
    } else if (month==9 && year==2007) {
             return; // skip this particular month
     } else if (day == NthDay(first, fri, month, year)) {
             return "<img src=images/obedience.gif width=30 height=30>Obedience Run Thrus 6:30 PM";
     }

    if (month==0 && year==0) {
             return; // skip this particular month 
    } else if (month==12 && year==2008) {
             return; // skip this particular month           
     } else if (day == NthDay(third, fri, month, year)) {
             return "<img src=images/obedience.gif width=30 height=30>Rally Run Thrus 6:30 p.m.";
     }
}