for(y=1;y<7;y++) { //length of col + 1 document.write("") for(x=1;x<8;x++) { //length of row + 1 feld=x+(y-1)*7; //7 length of row document.write("") document.write("") document.write("") document.write("") document.write("") } document.write("") }