var windowHandle = null;
var globalImage = null;
var globalImageWidth = null;
var globalImageHeight = null;
var globalCaption = null;

function
myOpen(localImage,localCaption,imageWidth,imageHeight,windowWidth,windowHeight,xPos,yPos)
{
    globalImage = localImage;
    globalCaption = localCaption;
    globalImageWidth = imageWidth;
    globalImageHeight = imageHeight;
    windowHandle = window.open('popup.htm','windowName','width=' +
windowWidth + ',height=' + windowHeight + ',left=' + xPos + ',top=' +
yPos + 'screenX=' + xPos + ',screenY=' + yPos);
    if (!windowHandle.opener)
        windowHandle.opener = self;
}

function myClose() {
    windowHandle.close()
}

function myVoid() { }



