// Original:  Ronnie T. Moore, Editor 
// Web Site:  The JavaScript Source 
// This script and many more are available free online at 
// The JavaScript Source!! http://javascript.internet.com 
// Begin


closetime = 17; // Close window after X number of seconds?
               // 0 = do  close, anything else = number of seconds

function Start(URL, WIDTH, HEIGHT) {
windowprops = "left=140,top=100,width=" + WIDTH + ",height=" + HEIGHT;
preview = window.open(URL, "preview", windowprops);
if (closetime) setTimeout("preview.close();", closetime*1000);
}

function doPopup() {
url = "http://www.RobertMcNelis.net/Data/WebForms/BuyerInquiry.asp";
width = 500;  // width of window in pixels
height = 345; // height of window in pixels
delay = 5;    // time in seconds before popup opens
timer = setTimeout("Start(url, width, height)", delay*1000);
}
//  End -->

