<!-- Begin
timeout =0; // Close window after __ number of seconds?
// 0 = do not close, anything else = number of seconds

function Start(URL, WIDTH, HEIGHT) {
windowprops = "left=0,top=0 ,width=" + (WIDTH+30) + ",height=" + (HEIGHT+40);

text = "<html><head><title>Large Image View</title><style type='text/css'> A:hover {color:#FFFF00;text-decoration:underline;} </style></head><body link='#FFFFFF' vlink='#FFFFFF' onBlur='self.focus()' bgcolor='#CCCC99'";

if (timeout != 0) text +=" onLoad=\"setTimeout('window.close()', " + timeout*1000 + ");\"";

text += "><center><img src='" + URL + "'>";

if (timeout != 0) text +="<br><font face='arial' size='1'><A HREF='javascript:()' onClick='window.close()'><font color='#000000'>Preview closes after " + timeout + " seconds or click to close now.</font></a></font>";

text += "<br><font face='arial' size='1'><A HREF='javascript:()' onClick='window.close()'><font color='#000000'>CLOSE WINDOW</font></a></font></center></body></html>";

preview = window.open("", "preview", windowprops);
preview.document.open();
preview.document.write(text);
preview.document.close();
}
//  End -->