function count(){
        var day,hour,min,sec;
        var d1,d2,d3,h1,h2,m1,m2,s1,s2;

        launch = new Date("Mar 07, 2004 21:00:00");
        now = new Date();
        if (launch-now>0) {
            left = launch-now;
        } else {
            left = now-launch;
        }
        day = Math.floor(left/86400000);
        hour = Math.floor((left%86400000)/3600000);
        min = Math.floor((left%86400000)/60000)%60;
        sec = Math.floor((left%86400000)/1000)%60%60;

        d1 = Math.floor(day/100);
        d2 = Math.floor((day%100)/10);
        d3 = day%10;

        h1 = Math.floor(hour/10);
        h2 = hour%10;

        m1 = Math.floor(min/10);
        m2 = min%10;

        s1 = Math.floor(sec/10);
        s2 = sec%10;

        document.d1.src="images/counter/"+d1+".gif";
        document.d2.src="images/counter/"+d2+".gif";
        document.d3.src="images/counter/"+d3+".gif";
        document.h1.src="images/counter/"+h1+".gif";
        document.h2.src="images/counter/"+h2+".gif";
        document.m1.src="images/counter/"+m1+".gif";
        document.m2.src="images/counter/"+m2+".gif";
        document.s1.src="images/counter/"+s1+".gif";
        document.s2.src="images/counter/"+s2+".gif";

        timer = 1;
        clearTimeout(timer);
        timer = setTimeout("count()", 1000);
}
count();
