Scrolling thumbnails

hi im using this for my site but insted of using the whole page im just using the thumbnails.
http://www.kirupa.com/developer/mx2004/thumbnails.htm

my dilemma is this. i want to use the thumbnails once clicked will getURL. Please check attached file. THANKS IN ADVACE!!!