function cdtd() {
var scorerelease = new Date(“November 04, 2014 08:00:00”);
var now = new Date();
var timeDiff = scorerelease.getTime() – now.getTime();
if (timeDiff <= 0) {
clearTimeout(timer);
document.write(“Score Release is here!”);
// Run any code needed for countdown completion here
}
var seconds = Math.floor(timeDiff / 1000);
var minutes = Math.floor(seconds / 60);
var hours = Math.floor(minutes / 60);
var days = Math.floor(hours / 24);
hours %= 24;
minutes %= 60;
seconds %= 60;
document.getElementById(“daysBox”).innerHTML = myPad(days);
document.getElementById(“hoursBox”).innerHTML = myPad(hours);
document.getElementById(“minsBox”).innerHTML = myPad(minutes);
document.getElementById(“secsBox”).innerHTML = myPad(seconds);
var timer = setTimeout(‘cdtd()',1000);
}
</script>
i took this from the source code of the countdown website, its been a long time since i programmed a website, but looking at the 8th line, it appears that they can update it at anytime to end the countdown and redirect to a new website for us to view scores….