timeout =0; // Close window after __ number of seconds?
	// 0 = do not close, anything else = number of seconds

	function Start(URL, WIDTH, HEIGHT) {
	windowprops = "left=50,top=50,width=" + (WIDTH+30) + ",height=" + (HEIGHT+30);

	text = "<html><head><title>Botaira Resort</title></head><body bgcolor='white'";

	if (timeout != 0) text +=" onLoad=\"setTimeout('window.close()', " + timeout*1000 + ");\"";

	text += "><center><img src='" + URL + "' border='0'>";

	if (timeout != 0) text +="<br><font face='arial, helvetica' size='-1'>Preview closes after " + timeout + " seconds.</font>";

	text += "</center></body></html>";

	preview = window.open("", "preview", windowprops);
	preview.window.close();
	preview = window.open("", "preview", windowprops);
	  if(!preview){
		alert('Automatic Popup windows are disabled for your browser.\nTo open this image you must allow popups for this site');
	  }
	  else{
		preview.document.open();
		preview.document.write(text);
		preview.document.close();
	  }
	}
