javascript setTimeout() not adding delay
<p>Following is my code. Now when mouse is out I want to wait for 2000 milliseconds to resume my slideshow. But the Image changes as soon as mouse is out.
Can anyone help??</p>

<pre><code>&lt;img src="images/achiever.png" name="slide" alt="badge" 
width="130" height="130" onmouseover="pause()" 
onmouseout="javascript:setTimeout(resume(), 2000)" /&gt;
</code></pre>
