function coloracelle() {
for(var g = 1; g < 8; g++) {
var tabella = document.getElementById("tabellas"+g);
var td = tabella.getElementsByTagName('td');
var count_td = td.length;
for(var i = 0; i < count_td; i++) {
if(i%2==0) {
td[i].style.backgroundColor = "TOMATO";
}else{
td[i].style.backgroundColor = "DODGERBLUE"; }
}
} }
function coloratasto() {
for(var d = 1; d <106; d++) {
var tastost = document.getElementById("forum"+d);
if(d%2==0) {
tastost.style.backgroundColor = "DODGERBLUE";
}else{
tastost.style.backgroundColor = "TOMATO"; }
} }