Click image to enlarge
The link above is an example of how to use my image viewer. The code for the link is:
<a href='st1_1701.jpg' target='_blank' onClick='openit(this.href); return false'>
If you want to include a page title, use:
<a href='st1_1701.jpg' target='_blank'  onClick='openit(this.href, "Star Ship Enterprise"); return false'>
Include the following line in the <HEAD> section of your page:
<script language="JavaScript" type="text/javascript" src="openit.js"></script>
You need the following files. Just right-click and download.