function Start(URL, WIDTH, HEIGHT) {
windowprops = "dependent=yes,status=no,menubar=no,scrollbars=no,resizable=no,left=225,top=140,width=" + WIDTH + ",height=" + HEIGHT;
preview = window.open(URL, "preview", windowprops);
if (closetime) setTimeout("preview.close();", closetime*1000);
}

closetime = 8; // Close window after __ number of seconds?
// 0 = do not close, anything else = number of seconds

function doPopup() {
url = "popup-welcome.htm";
width = 360;  // width of window in pixels
height = 150; // height of window in pixels
delay = 2;    // time in seconds before popup opens
timer = setTimeout("Start(url, width, height)", delay*1000);
}