Hi all,

I'm creating a website for a client, and he has several books, and, on each book page, he wants to have a small picture of his book, and then have a visitor click it and have a window open with a larger (more clear) image of his book. How can I create a function in JavaScript that I can place in a .js file and have it so that I can change the height, width, and URL of each popup window, using only this one function?

I have some prior experience with JavaScript, but not much, so if you could provide code and explanation, that would be very helpful.

Thanks,
-Corbb