jquery animate images
<p>I have list of images. Is it possible to have all the ads randomly rotate in and out of those spots every 5 seconds</p>

<pre><code>&lt;div id="s1" class="pics"&gt;

&lt;img src="http://placekitten.com/200/200"&gt;
&lt;img src="http://placekitten.com/150/150"&gt;
&lt;img src="http://placekitten.com/180/180"&gt;
&lt;img src="http://placekitten.com/170/170"&gt;
&lt;img src="http://placekitten.com/140/140"&gt;
&lt;img src="http://placekitten.com/160/160"&gt;

&lt;/div&gt;


$(document).ready(function(){

    var numberOfImages;
    $(".pics img").each(function(){
        numberOfImages = $(".pics img").size();
        //alert(numberOfImages);
    });


});
</code></pre>

<p>Really not sure how to do this. can anyone point me in the right direction?</p>
