// this variable names the current window (for using the popUp as a remote)
window.name = "currentWindow";
// this function opens the pop-up window
var newWin;
function popUp(page, name, details) {
	newWin=window.open(page, name, details);
	newWin.focus();
	return false;
}

/* Use this in the A HREF tag:
Standard (nothing but the file):
<a href="images/image.jpg" onClick="return popUp('images/image.jpg', 'imageName', 'width=xxx,height=xxx')"></a>

Custom (all the options):
<a href="images/image.jpg" onClick="return popUp('images/image.jpg', 'imageName', 'width = xxx,height = xxx,directories = no,location = no, menubar = no,resizable = no,scrollbars = no, status = no,toolbar = no,screenX = xxx,screenY = xxx,top = xxx,left = xxx')"></a>

To enable an option, replace "no" with "yes". "xxx" should be replaced with pixel values.
screenX, screenY, top and left position the window on the screen, and you need both to have it work in IE and Netscape

You can use .html files or images, same as usual with an <a> tag.
*/
