I have been working so close to this project that I did not explain my problem correctly.
The reason I need to use an iFrame is because I don't want to just load an image, but a small web page that contains an image, text explaining the image, and a PayPal "Buy Now" button so viewers can order individual paintings.
What I want to do is to be able to open an iFrame inside of a div which I can control its location on the page, and have it scroll with the rest of the content on the page.
What I need is to know and understand the javascript code which will allow loading of the iFrame (inside a div) when a thumbnail image is clicked. I have spent the whole day searching the internet for information to help me do this, but I can't find anything.
I would appreciate any help I can get that will get me started in the right direction on this project.