I'm trying to do a similar thing except to open an image in a browser window instead to opening in a iframe. Currently I'm using a pop up window but I know that people turn off pop ups so it basically useless for me.
If some one could point me to an "alternative" simple javascript that does a similar thing and where and how to insert it "correctly" would also be very useful which I've noticed seldom gets explained in these tutorials.