I posted this on the holiday and got 1 response that really wasn't what I was looking for. I am displaying thumbnails on a page that when clicked open a new window to show the full image. The javascript I have hard codes the size and what I would like is a script that opens the window to just the size of the image. I searched the usual javascript sites but most of the scripts there require that the image size be hard coded. The image locations are being pulled from a db and then displayed so they change depending on the record pulled. Any points in the right direction would be appreciated. Thanks