closetime = 0;
function Start(URL, WIDTH, HEIGHT) {
myleft=(screen.width)?(screen.width-width)/2:100;mytop=(screen.height)?(screen.height-height)/2:100;
windowprops = "width=" + WIDTH + ",height=" + HEIGHT + ",top=" + mytop + ",left=" + myleft + ",scrollbars=no,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no";
preview = window.open(URL, "preview", windowprops);
if (closetime) setTimeout("preview.close();", closetime*1000);
}

function doNoTerms() {
url = "no_terms.htm";
width = 250;  // width of window in pixels
height = 150; // height of window in pixels
delay = 0;    // time in seconds before popup opens
timer = setTimeout("Start(url, width, height)", delay*1000);
}
