for(y=1;y<4;y++)
	{	;//4 is length of col +1
	document.write("<tr>")
	for(x=1;x<7;x++)
		{	;//7 is length of row +1
		feld=x+(y-1)*6; //6 is length of row

		document.write("<td width='40'><a href='javascript:clickon("+feld+")'><img src='0.gif' height='40' width='40' border='0' name='p"+feld+"'/></a></td>")
		}
	document.write("</tr>")
	}
