var bgcolor;
function clock() {
	hre=new Date();
	hr=hre.getHours();
	if (hr<10) hr="0"+hr
	mn=hre.getMinutes();
	if (mn<10) mn="0"+mn
	sc=hre.getSeconds();
	if (sc<10) sc="0"+sc
	time=hr+":"+mn+":"+sc;
	document.form.button.value=time;
	document.form.button.style.background = bgcolor;
	window.setTimeout('clock()', 1000);
}
onError = null;