var present; 
var future; 
var tseconds; 
var seconds; 
var minutes;
var hours;
var days;
ID=setTimeout("countdown();", 1000);
function countdown() 
{
present = new Date();
present = present.getTime() + (60000) + (12 * 60 * 60 * 1000);
//future = new Date("September 26, 2010 23:59:00");
tseconds = (future - present) / 1000;
if (tseconds > 0) {tseconds = tseconds} else {tseconds = 0}
days = tseconds /24/60/60;
days = Math.floor(days);
tseconds = tseconds - (days * 24 * 60 * 60);
hours = tseconds /60/60;
hours = Math.floor(hours);
tseconds = tseconds - (hours * 60 * 60);
minutes = tseconds /60;
minutes = Math.floor(minutes);
tseconds = tseconds - (minutes * 60);
seconds = tseconds;
seconds = Math.floor(seconds);
document.getElementById('days').innerHTML = days; 
document.getElementById('hours').innerHTML = hours;
document.getElementById('minutes').innerHTML = minutes;
document.getElementById('seconds').innerHTML = seconds;
ID=setTimeout("countdown();", 1000);
today = new Date();
todayEpoch = today.getTime();
target = new Date("26 September, 2010"); 
targetEpoch = target.getTime();
daysLeft = Math.floor(((targetEpoch - todayEpoch) / (60*60*24)) / 1000);
}
