Javascript Countdown Show Link
<p>I'm trying to use this code to countdown from 10 seconds, then show a link.</p>

<pre><code>x116=30;
FUNCTION countdown() 
{
IF ((0 &lt;= 100) || (0 &gt; 0))
{
x116--;
IF(x116 == 0)
{
document.getElementById("dl").innerHTML = '&lt;a href="download.php"&gt;Download&lt;/a&gt;';
}
IF(x116 &gt; 0)
{
document.getElementById("dl").innerHTML = 'Please wait &lt;b&gt;'+x116+'&lt;/b&gt; seconds..';
setTimeout('countdown()',1000);
}
}
}
countdown();
</code></pre>

<p>I just know some really basic javascript. So could anyone tell me whats wrong with this? Nothing happens basically.</p>
