/****
*Original:  Steve Dondley (steve@dondley.com)
*Web Site:  http://www.progressivevalley.com
*This script and many more are available free online at The JavaScript Source!! http://javascript.internet.com
*Begin
*/
function getTime() {
now = new Date();
raced = new Date("March 14 2010 12:00:00 GMT ");
days = (raced - now) / 1000 / 60 / 60 / 24;
daysRound = Math.floor(days);
hours = (raced - now) / 1000 / 60 / 60 - (24 * daysRound);
hoursRound = Math.floor(hours);
minutes = (raced - now) / 1000 /60 - (24 * 60 * daysRound) - (60 * hoursRound);
minutesRound = Math.floor(minutes);
seconds = (raced - now) / 1000 - (24 * 60 * 60 * daysRound) - (60 * 60 * hoursRound) - (60 * minutesRound);
secondsRound = Math.round(seconds);
sec = (secondsRound == 1) ? " sec" : " secs";
min = (minutesRound == 1) ? " min, " : " mins, ";
hr = (hoursRound == 1) ? " hr, " : " hrs, ";
dy = (daysRound == 1)  ? " day, " : " days, "
document.timeForm.input1.value = daysRound  + dy + hoursRound + hr + minutesRound + min + secondsRound + sec + " to go ";
// document.timeForm.input1.value = daysRound  + dy + hoursRound + hr + minutesRound + min + "to go ";
newtime = window.setTimeout("getTime();", 1000);
}