function startTimer()
{
var DSTAdjust = 0;
oneMinute = 1000 * 60;
var oneDay = oneMinute * 60 * 24;
var expired = 0;
time = new Date();
if (time.getTime() > timerEnd.getTime())
{
expired = 1;
}
else
{
DSTAdjust = (timerEnd.getTimezoneOffset( ) - time.getTimezoneOffset( )) * oneMinute;
var diff = Math.abs(timerEnd.getTime( ) - time.getTime( )) - DSTAdjust;
var days = Math.floor(diff/oneDay);
var hours = Math.floor(diff/(60*oneMinute)) % 24;
var minutes = Math.floor(diff/oneMinute) % 60;
var seconds = Math.floor(diff/1000) % 60;
var mseconds = diff % 1000;
}
if (expired)
{
document.getElementById('timer').innerHTML = "<tr><td><big>EXPIRED</big></td></tr>";
}
else
{
document.getElementById('days2').innerHTML = Math.floor(days/100);
document.getElementById('days1').innerHTML = Math.floor((days%100)/10);
document.getElementById('days0').innerHTML = days % 10;
document.getElementById('hours1').innerHTML = Math.floor(hours/10);
document.getElementById('hours0').innerHTML = hours % 10;
document.getElementById('mins1').innerHTML = Math.floor(minutes/10);
document.getElementById('mins0').innerHTML = minutes % 10;
document.getElementById('secs1').innerHTML = Math.floor(seconds/10);
document.getElementById('secs0').innerHTML = seconds % 10;
document.getElementById('msecs2').innerHTML = Math.floor(mseconds/100);
document.getElementById('msecs1').innerHTML = Math.floor((mseconds%100)/10);
document.getElementById('msecs0').innerHTML = mseconds % 10;
setTimeout('startTimer()', 100);
}
}
document.write("<table id='timer' align='center' class='timer' cellpadding='0' cellspacing='0'>"+
"<tr><td id='days2'>0</td><td id='days1'>0</td><td id='days0'>0</td><td> </td><td id='hours1'>0</td><td id='hours0'>0</td><td> </td><td id='mins1'>0</td><td id='mins0'>0</td><td> </td><td id='secs1'>0</td><td id='secs0'>0</td><td> </td><td id='msecs2'>0</td><td id='msecs1'>0</td><td id='msecs0'>0</td></tr>"+
"<tr class='labels'><td colspan='3' align='center'>days</td><td> </td><td colspan='2' align='center'>hours</td><td> </td><td colspan='2' align='center'>mins</td><td> </td><td colspan='2' align='center'>secs</td><td> </td><td colspan='3' align='center'>msecs</td></tr><tr><td colspan='16' align='right'><a style='font: normal 9px Arial; color: silver; text-decoration: none;' onmouseover=\"this.style.textDecoration='underline'; this.style.color='red'\" onmouseout=\"this.style.textDecoration='none'; this.style.color='silver'\" href='http://go-test.net'>Powered by Go-test.net</a></td></tr></table>");
window.onload=startTimer;Daha önce bunu kullamıştım. kalın yazılı yeri kendine göre düzenlersen geri sayım bittiğinde o satırı gösterir
(hediyeye gerek yok. umarım işine yarar ve çalışıyordur

)