<!--
function NoSpamEmail(recipient, host, world, subject, displayText)
{
	var email = (recipient + "@" + host + "." + world);
 	var mailto = "<a ";
 		mailto += "href='" + "m" + "a" + "i" + "l" + "t" + "o" + ":" + email + "?subject="+subject + "'";
		mailto += " >" + displayText + "</a>";
	document.write(mailto);
}	
	
function dateChanged(calendar) {
	// Beware that this function is called even if the end-user only
	// changed the month/year.  In order to determine if a date was
	// clicked you can use the dateClicked property of the calendar:
	if (calendar.dateClicked) {
	  // OK, a date was clicked, redirect to /yyyy/mm/dd/index.php
	  var y = calendar.date.getFullYear();
	  var m = calendar.date.getMonth() + 1;     // integer, 0..11
	  var d = calendar.date.getDate();      // integer, 1..31
	  // redirect to the relevant page for event details
	  document.location = d+"_"+m+"_"+y+".htm";
	}
}

function dateIsSpecial(year, month, day) {
var y = SPECIAL_DAYS[year];
if (!y) return false;

var m = y[month+1];
if (!m) return false;
for (var i in m) if (m[i] == day) return true;
return false;
}


function setupKeyDates(date, y, m, d) {
if (dateIsSpecial(y, m, d))
  return "special";
else
  return false; // other dates are enabled
  // return true if you want to disable other dates
}
//-->