<!-- Begin

timeout =7; // Close window after __ number of seconds?
// 0 = do not close, anything else = number of seconds

function Start(URL, WIDTH, HEIGHT) {
windowprops = "left=200,top=100,width=" + (WIDTH+50) + ",height=" + (HEIGHT+70);

text = "<html><head><title>Aspull Catering Equipment Photo Gallery</title><meta http-equiv='imagetoolbar' content='no'></head><body bgcolor='white'";

if (timeout != 0) text +=" onLoad=\"setTimeout('window.close()', " + timeout*1000 + ");\"";

text += "><center><img src='" + URL + "'>";

if (timeout != 0) text +="<br><br><b><font face='Trebuchet MS, Arial, Sans-serif' size='-1' color='black'>Preview will close after " + timeout + " seconds</font></b>";

text += "</center></body></html>";

preview = window.open("", "preview", windowprops);
preview.document.open();
preview.document.write(text);
preview.document.close();
}
//  End -->
