// JavaScript Document
function Start(URL, WIDTH, HEIGHT) {
timeout =0; // Close window after __ number of seconds?
// 0 = do not close, anything else = number of seconds
windowprops = "left=250,top=100,width=" + (WIDTH+50) + ",height=" + (HEIGHT+50);
text = "<html><head><title>Preview</title></head><body bgcolor='#ffffff'";
if (timeout != 0) text +=" onLoad=\"setTimeout('window.close()', " + timeout*1000 + ");\"";
text += "><center><a href='javascript:window.close();'><img src='" + URL + "' border='0'></a>";
text +="<br><font face='verdana,arial, helvetica' size='1'><a href='javascript:window.close();' style='color:#721d6b'>Close Window</a></font>";
text += "</center></body></html>";
preview = window.open("", "preview", windowprops);
preview.document.open();
preview.document.write(text);
preview.document.close();
}
