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;
}

var zz='';
var allloaded=1;
function startclock()
{
	setTimeout('startclock()',1000);
	showtime();
	seconds++;
	if(seconds>59)
	{minutes++;
	seconds=0;
	if(minutes>59)
	{hours++;
	minutes=0;
	if(hours>23){hours=0;
	}
	}
	}

}
	
function zerodraw(strin)
{
	if(strin<10)
	{zz='0'+strin}
	else{zz=strin};

}

function showtime()
{
	var mm='';
	zerodraw(hours);
	mm=mm+zz+':';
	zerodraw(minutes);
	mm=mm+zz+':';
	zerodraw(seconds);
	mm=mm+zz;
	Clck.innerHTML=mm;
}

if(typeof showclock!='undefined'){startclock();

}

