Adding Tumbnails Question

In the tutorial for adding thumbnails to the xml Gallery the preview has a rollover url link capability but when you go through the tutorial that is not covered. While I can appreciate that it was beyond the scope of the tutorial I would like to know how you can add the onRelease function that will allow the tutorial to function the way the preview does

Any help would be appreciated

Warden