JavaScript in Echo php : <p>hey guys can anyone help me to make this javascript code work in echo php area :/ .. please help cuz i really need this :) </p>

<pre><code>&lt;script type="text/javascript"&gt;
function countDown(secs,elem){
    var element = document.getElementById(elem);
    element.innerHTML = "Please wait for "+secs+" seconds";
 if(secs&lt;1){
        clearTimeout(timer);
        element.innerHTML = '&lt;h2&gt;Countdown Complete!&lt;/h2&gt;';
        element.innerHTML += '&lt;a href="'.$url.'"&gt;Click here now&lt;/a&gt;';
 }
    secs--;
    var timer = setTimeout ('countDown('+secs+',"'+elem+'")',1000)
}
&lt;/script&gt;
&lt;div id="status"&gt;&lt;/div&gt;
&lt;script type="text/javascript"&gt;countDown(10,"status"); &lt;/script&gt;
</code></pre>
