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