Lightbox Image Viewer

http://www.dynamicdrive.com/dynamici...tbox/index.htm

Hi,

I'm using this script on an html page that opens up in an IFrame.

When I click on the thumbnail image the lightbox image viewer works but it shows the image in the Iframe. Since the image is 800 x 600 and my iframe is smaller you cannot see anything.

How can I adjust the script so it shows on the main page where the Iframe is placed and not within the Iframe itself.

Thanks in advance!
Zo