Change image with jquery in slideshow on autoswitch
<p>i have the following code</p>

<pre><code>             $(".image_reel").animate({
                    left: -image_reelPosition
                }, 500 );


                activeid =  $('.active').attr('id');
                addDescToImage(activeid);      
</code></pre>

<p>Now i want to change the active image.            </p>

<pre><code>                $(".slideshow_button").attr("src", "images/image1.png");
                $("img", this).attr("src", "images/image2.png");   
</code></pre>

<p>I am already changing the image on click like this:</p>

<pre><code>   $(function() {
            $(".button_sslink").click(function(){
                $(".slideshow_button").attr("src", "images/image1.png");
                $("img", this).attr("src", "images/image2.png");
            });
        });
</code></pre>

<p>Here is one of the paging html lines.</p>

<pre><code> &lt;a href="#" rel="5" id="image5" title="dada6" class="button_sslink"&gt;&lt;img src="images/image1.png" width="15" height="15" class="slideshow_button"/&gt;&lt;/a&gt;
</code></pre>

<p>So basically it is changing once you click. But my slideshow changes automatically every minute, and i would really like the active image indicator changing with it.o,ag</p>
