function switchCell(n)
{
  for(i=0;i<navcell.length;i++)
  {
    navcell[i].className="tab-off";
    tb[i].style.display="none";
  }
  navcell[n].className="tab-on";
  tb[n].style.display="block";
}
function setPointer(theRow, thePointerColor)
{
    if (thePointerColor == '' || typeof(theRow.style) == 'undefined') {
        return false;
    }
    if (typeof(document.getElementsByTagName) != 'undefined') {
        var theCells = theRow.getElementsByTagName('td');
    }
    else if (typeof(theRow.cells) != 'undefined') {
        var theCells = theRow.cells;
    }
    else {
        return false;
    }
    var rowCellsCnt  = theCells.length;
    for (var c = 0; c < rowCellsCnt; c++) {
        theCells[c].style.backgroundColor = thePointerColor;
    }
    return true;
}
function show_statistics()
{
	features='width=120,height=150,scrollbars=no,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';
	top.tv=window.open('inc/statistics.php','tv',features);
	top.tv.focus();
}

