"; text += "
" text += "
Photogallery
Close Window
" text += "
" text += "
" text += "
" if (timeout != 0) text +=" onLoad=\"setTimeout('window.close()', " + timeout*1000 + ");\""; text += "
"; if (timeout != 0) text +="
Preview closes after " + timeout + " seconds.
"; text += "
" + LINE + "