if (j % 10 === 1 || i === 1) { document.write("<font color=blue><td>" + i + "</td></font>") } else { document.write("<td>" + i + "</td>"); }