closetime = 0; // Close window after __ number of seconds?
// 0 = do not close, anything else = number of seconds

function doPopup(imagePath, width, height) {
url = "/viewImage.html?image=" + imagePath;
delay = 0;    // time in seconds before popup opens
//timer = setTimeout("Start(url, width, height)", delay*1000);

windowprops = "left=200,top=150,width=" + width + ",height=" + height;
WindowObjectReference = window.open(url, "preview", windowprops);
}
