Program command to be called every 5 seconds
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/1542280/do-something-every-5-seconds-and-the-code-to-stop-it-jquery">Do something every 5 seconds and the code to stop it. (JQuery)</a>  </p>
</blockquote>



<p>I have a gallery that i want to automatically run without me using it.</p>

<p>How can i run a script that calls this every 5 seconds or so on this <a href="http://www.meadmiracle.com/SlidingGalleryDemo1.htm" rel="nofollow">http://www.meadmiracle.com/SlidingGalleryDemo1.htm</a></p>

<p>I need this to be called every 5 seconds or so bsaically so the gallery looks like it automatically scrolls. </p>

<pre><code>$.galleryUtility.slideLeft( ) 
</code></pre>
