<!-- 

/////////////////// Count Down to the Races! ///////////////////
// 
// Steve J. Quest - Fri Oct 25 05:31:20 UTC 2002
// Copyleft, all rights reversed.
// Code prepared exclusively for Fitness Sports.
// 
// Change the date value below to reflect the proper start time.
// 

var racedate = new Date("November 20, 2004 9:00:00");
function toSt(n) {
	s=""
	if(n<10) s+="0"
	return s+n.toString();
}
function countdown() {
	clk=document.raceclock;
	d=new Date();
	count=Math.floor((racedate.getTime()-d.getTime())/1000);
	if(count<=0)
		{clk.days.value ="--";
		clk.hours.value="--";
		clk.mins.value="--";
		clk.secs.value="GO";
		return;
	}
	clk.secs.value=toSt(count%60);
	count=Math.floor(count/60);
	clk.mins.value=toSt(count%60);
	count=Math.floor(count/60);
	clk.hours.value=toSt(count%24);
	count=Math.floor(count/24);
	clk.days.value=count;
	setTimeout("countdown()",1000);
}

/////////////////////// End of JavaScript //////////////////////

// -->
