var OldColors = new Array(15);

function lightRow(cell)
{
	for(i=0;i<cell.parentNode.cells.length;i++)
	{
		OldColors[i] = cell.parentNode.cells[i].style.backgroundColor;
		cell.parentNode.cells[i].style.backgroundColor = '#99FF99';
	}
}

function lightRow2(cell, activeColor)
{
	for(i=0;i<cell.parentNode.cells.length;i++)
	{
//activeColor = '#999999';
		OldColors[i] = cell.parentNode.cells[i].style.backgroundColor;
//		cell.parentNode.cells[i].style.backgroundColor = '#999999';
		cell.parentNode.cells[i].style.backgroundColor = activeColor;
	}
}

function darkRow(cell)
{
	for(i=0;i<cell.parentNode.cells.length;i++)
	{
		cell.parentNode.cells[i].style.backgroundColor = OldColors[i];
	}
}

