Highlighting the current thumbnail in XML PhotoGallery

HI Everyone:

I just completed the Kirupa XML Gallery with thumbnails tutorial and was wondering if anyone can help me with the following modification. I have searched through the forums and other tutorials for mentiion of this but haven’t found anything.

I would like the current thumbnail to highlight on clicking it so that it remains highlighted ( even an opacity change would be fine) until you click on another thumbnail. The same thing would happen as you forward arrow or reverse arrow through the thumbnails…the current thumbnail would be highlighted.

I am thinking that it might require a function that would zero-state all the thumbnails when any one is clicked and then at the same time highlight (or change the opacity) of the current one, but this maybe the wrong direction

Can anyone help me with this, I am really struggling with this one, though it feels like it
should be fairly easy.

Thanks,
fluctuate9