function Show(id)
{
   if (!id) return;
   id.style.display = "block";
}

function Hide(id)
{
   if (!id) return;
   id.style.display = "none";
}

function CellOn(cell)
{
   if (!cell) return;
   cell.OldClassName = cell.className;
   cell.className = cell.className + " " + cell.highlight;
}

function CellOff(cell)
{
   if (!cell) return;
   cell.className = cell.OldClassName;
}

function RowOn(row)
{
   if (!row) return;

   for (j = 0; j < row.cells.length; j++)
   {
      CellOn(row.cells[j]);
   }
}

function RowOff(row)
{
   if (!row) return;

   for (j = 0; j < row.cells.length; j++)
   {
      CellOff(row.cells[j]);
   }
};
