Teoreticky bych tyto dva řádkyresponse.write "</table>" response.write "</body></html>" vložil až za Loop