not a problem bro, i can help with that. currently there is a line in the code that says:
Code:
crossobj.innerHTML='<div align="right" id="dragbar"><span id="closetext" onClick="closepreview()">Click here to close this pop-up window</span> </div><img src="'+which+'">'
change it to the following:
Code:
crossobj.innerHTML='<div align="right" id="dragbar"><span id="closetext" onClick="closepreview()">Click here to close this pop-up window</span> </div><a style="cursor: pointer;" onClick="closepreview()"><img src="'+which+'"></a>'
simple as that. instead of it just displaying the specific image, it now is telling it to dispaly the specific image as a link, just like the "Click here to close this pop-up window" link. in doing this, the image is now a link and you can click it to close the window. enjoy.
Bookmarks