// datecounter.js
// Lisa Mulhern 13-Jul-2006
// Counts down the days to a given date

ow_f_AppendLoadEvent(countdown);

function countdown() {
	var today = new Date();
	var endDate = new Date(2010, 8, 13);
	
	if (document.getElementById("mh_2") != null) {
		document.getElementById("mh_2").innerHTML = "<p>" + (Math.floor((endDate - today)/86400000) + 2) + "</p>"; //count today and day of exam as days
	}
}