I am very new to this all and am trying to creat a photogallery where as the original photo pops up into a new window with no scrollbars and not resizable etc… I did that…

What i need to figure out is when the person hits “Next” to view the next photo the previous photos window remains open because I am using the same code… How can I modify the MM_OpenBrowserWindow code to open the new window and close the old one or just open the next window in itself without a new window?

Thank you all in advance

The second parameter to the call is the name of the window to open it in (or _blank to open a new window).