See this thread for detailed info and docs on script: http://www.codingforums.com/showthread.php?t=58814
1) Horizontal Slideshow:
Each image hyperlinked and opens in same browser.
2) Horizontal Slideshow:
Each image hyperlinked and opens in the new, set window (target="_blank")
3) Vertical Slideshow
Each image is hyperlinked and opens in a pop up window or iframe. 1st and 2nd image opens in the same popup window called "photo", 3rd image a _blank widnow, and 4th image, in the iframe following called "steve". Each pop up window's attributes can be customized, such as no toolbars, width/dimension etc.