The author writes "I wrote this script because I wanted something that will allow me to call up many pop up windows that doesn't have margins for IMAGES for my digital camera page. With this script, you no longer need to write html for every single image in order to make them show up in popup without margins. I hope it will be useful for you all." no need to put width or height of your image or the thumbnail - the script now automatically detects those, and everything is now put into a function that can call the popup in one line of code.