var OldColors = new Array(15);
var OldColor;

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 = '#669cce';
        }
}

function darkRow(cell)
{
        for(i=0;i<cell.parentNode.cells.length;i++)
        {
                cell.parentNode.cells[i].style.backgroundColor = OldColors[i];
        }
}

function lightCell(cell)
{
 OldColor = cell.style.backgroundColor;
 cell.style.backgroundColor = '#669cce';
// cell.parentNode.cells[0].style.backgroundColor = '#ff9900';
}

function darkCell(cell)
{
 cell.style.backgroundColor = OldColor;
// cell.parentNode.cells[0].style.backgroundColor = OldColor;
}

function advNavigate(url)
{
  this.window.location.href=url;
}

