<div id="countdown"> </div>
<div id="download"><a href='#'>dosyayı indir</a></div>
<script>
window.onload = function() {
    var countdownElement = document.getElementById('countdown'),
        downloadButton = document.getElementById('download'),
        seconds = 10,
        second = 0,
        interval;
    downloadButton.style.display = 'none';
    interval = setInterval(function() {
        countdownElement.firstChild.data = 'Dosyayı indirmek için ' + (seconds - second) + ' saniye bekleyiniz.';
        if (second >= seconds) {
            downloadButton.style.display = 'block';
            countdownElement.style.display = 'none';
            clearInterval(interval);
        }
        second++;
    }, 1000);
}
</script>