// JavaScript Document

function changeColor(color,i)
{
CellStyle = document.getElementById('c'+i).style;
CellStyle.background = color;
}