JQuery Cycle

JQuery Cycle

I am using this JQuery Script

http://malsup.com/jquery/cycle/pager11.html

I need to find a way to figure out what picture is selected at any given time, I could write something that follows the previous and next clicks but the fact that you can click a thumbnail and have that image come up.

The thumbnails are all Links so I would think that we could do something with that but if anyone has any ideas that would be great!