<html>
<head>
<script language ="JavaScript">
<!--
var hr,min,sec
function display()
{
var theDate=new Date()
hr=theDate.getHours()
min=theDate.getMinutes()
sec=theDate.getSeconds()
document.frm.hours.value=hr
document.frm.minutes.value=min
document.frm.seconds.value=sec
timerID=setTimeout("display()",1000)
}
//-->
</script>
</head>
<body onload="display()">
<form name="frm">
<script language ="JavaScript">
<!--

document.write("<table border=1>")

document.write("<tr>")

document.write("<td>")
document.write("<input type ='text' name='hours'>")
  document.write("</td>")
  document.write("<td>")
  document.write("<input type ='text' name='minutes'>")
  document.write("</td>")
  document.write("<td>")
  document.write("<input type ='text' name='seconds'>")
  document.write("</td>")
  document.write("</TR>")

document.write("</Table>")
//-->
</script>
<form>
</body>
</html>