// There's nothing like reinventing the wheel!
//    var d = new Date(year, month, day, hours, minutes, seconds, milliseconds);

function cd()
{
remain = MEStart - (new Date());

daysLeft = Math.floor(remain/1000/60/60/24);
hoursLft = Math.floor(remain/1000/60/60);
minsLeft = Math.floor(remain/1000/60);
secsLeft = Math.floor(remain/1000);

if(remain > 0)
{
	document.getElementById("countdown").innerHTML = '<b>' + 
	daysLeft + '</b> days, <b>' + 
	(hoursLft - (daysLeft*24)) + '</b> hours, <b>' + 
	(minsLeft - (hoursLft*60)) + '</b> minutes, and <b>' + 
	(secsLeft - (minsLeft*60)) + '</b> seconds until the fun begins!';
}else{

	document.getElementById("countdown").innerHTML = "The event has begun!";
}

calc = window.setTimeout('cd()', 1000);
}
