<HTML>
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!--
var val = 0;
function chk_func(val) {
if (eval(val) == 0) {
window.setTimeout( "chk_func(val)", 1000 );
var today = new Date();
document.frm1.disp.value = today.toString();
}
}
//-->
</SCRIPT>
</HEAD>
<BODY onload="chk_func()">
<CENTER>
<FORM name=frm1>
<input type="text" name="disp" value="" size=46><br>
<input type="radio" name="chk" value="STOP" checked onClick="val=1;chk_func(val);">STOP
<input type="radio" name="chk" value="RESTART" onClick="val=0;chk_func(val);">RESTART<br>
</CENTER>
</FORM>
</BODY>
</HTML>
|