javascript not working
<p>I have following javascript code. Its a timer code. Timer stops if quiz is 3 for 3 seconds and starts after 3 seconds for 20 seconds. But this code is not working for if quiz is anything else than 3. Can anyone help me with this?</p>

<pre><code>&lt;script type="text/javascript"&gt;
  var days = 0  
  var hours = 0
  var minutes = 0
  var seconds = 20
  var delay_countdown = &lt;?php echo ($quiz == 3) || 0 ; ?&gt;;
function setCount ()
{
  document.getElementById("remain").innerHTML = seconds+" seconds";
  SD=window.setTimeout( "setCount()", 1000 );
  if (delay_countdown) { 
    return
  }
  seconds--;
  if (seconds &lt; 0){
      minutes--;
      seconds = 59
  }
  if (minutes &lt; 0){
      hours--;
      minutes = 59
  }
  if (hours &lt; 0){
      days--;
      hours = 23
  } 

}

&lt;/script&gt;
</code></pre>
