<div align="center">
<form name="formOrologio">
<input type="text" name="textOrologio" class="stileOrologio" onFocus="this.blur()" onSelectStart="return false;">
</form>
</div>
<script type="text/javascript">
<!--
function Clock() {
var orologio = new Date();
var HH = orologio.getHours();
var MM = orologio.getMinutes();
var SS = orologio.getSeconds();
parseInt(MM) < 10 ? MM = "0" + MM : null;
parseInt(SS) < 10 ? SS = "0" + SS : null;
document.formOrologio.textOrologio.value = HH + ":" + MM + ":" + SS;
window.setTimeout("Clock()", 1000);
}
//-->
</script>
<style type="text/css">
input.stileOrologio {
text-align: Center;
width: 100px;
border: Solid 3px indigo;
color: red;
font: Bold 12px colonna;
}
</style>
<body onLoad="Clock()">