how to highlight the selected thumb image of a image gallery, when we click on it?
<p>Im  a beginner in jquery, i created a simple image slider. code is like this</p>

<pre><code>     $(function() {
        $(".specialimage").click(function() {

        var image = $(this).attr("rel");
        $('#specialimage').hide();
        $('#specialimage').fadeIn('slow');
        $('#specialimage').html('&lt;img src="' + image + '"/&gt;');
        return false;
        });
        });
</code></pre>

<p>Web site is : <a href="http://ymaclub.com/test/special.html" rel="nofollow">http://ymaclub.com/test/special.html</a></p>

<p>the image gallery is working fine, but its not highlighting the selected thumb image when we click a particular thumb image of the gallery..</p>

<p>Can any one please help me <b>how to highlight the selected thumb image of a image gallery,  when we click on it?</b></p>
