function countdown(){
        var targetDate = new Date('02/24/2012'),currentDate = new Date();
        var SysSecond = (targetDate.getTime() - currentDate.getTime())/1000 + 2;
        var interval_id = setInterval(timeCount,1000);

        function timeCount() {
                if (SysSecond > 0) {
                                SysSecond--
                                var second = Math.floor(SysSecond % 60);
                                var minite = Math.floor((SysSecond / 60) % 60);
                                var hour = Math.floor((SysSecond / 3600) % 24);
                                var day = Math.floor((SysSecond / 3600) / 24);

                                $('#countdown .days').html(day);
                                $('#countdown .hours').html(hour);
                                $('#countdown .minutes').html(minite);
                                $('#countdown .seconds').html(second);
                        } else {
                                clearInterval(interval_id);
                }
        };
        timeCount();
}
