Pass varible to new window

What I need to do is create a function that passes a new URL and the image name to a new page. Then have the new window use document.write to spit out the image.

Im trying to get around having to create tons of html pages for an image pop-up window. The server doesnt support caca so im resorting to this. Other wise Iā€™d just write a little php code to do it :frowning:

Ive little experience with javascript. But i can usually get it to work, cept this time :stuck_out_tongue:

Any ideas, please point them my way. :slight_smile: