!! no more un use in administrative module at 20221128
!! deprecated use chronoid.js
!! TODO_clean


!set wims_html_header=!append line <script>\
var fixrtick=$wims_read_parm;\
var rtick=fixrtick;\
var enter=new Date();\
function tempo() {\
	exit=new Date();\
	return Math.ceil((exit.getTime()-enter.getTime())/1000);\
}\
function clock() {\
 document.chrono.clock.value=rtick; \
rtick=fixrtick-tempo();\
 if(rtick<0) {rtick=0;}\
 else{Timer= setTimeout("clock()",1000);}\
}\
</script> to $wims_html_header

!set wims_html_onload=!append word clock(); to $wims_html_onload
