<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
timeout =0; // Close window after __ number of seconds?
// 0 = do not close, anything else = number of seconds

function viewPic(URL, WIDTH, HEIGHT) {
windowprops = "left=40,top=40,width=" + (WIDTH+0) + ",height=" + (HEIGHT+0);

text = "<html><head><title>Churaumi Aquarium</title></head><body style='background-color:#3399FF; margin:0;'";

if (timeout != 0) text +=" onLoad=\"setTimeout('window.close()', " + timeout*1000 + ");\"";

text += "><center><img src='" + URL + "'>";

if (timeout != 0) text +="<br><font face='arial, helvetica' size='2'>Preview closes after " + timeout + " seconds.</font>";

text += "</center></body></html>";

preview = window.open("", "preview", windowprops);
preview.document.open();
preview.document.write(text);
preview.document.close();
}
//  End -->