Subversion Repositories wimsdev

Rev

Rev 6099 | Rev 13009 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6099 Rev 10454
Line 6... Line 6...
6
function tempo() {
6
function tempo() {
7
        exit=new Date();
7
        exit=new Date();
8
        return Math.ceil((exit.getTime()-enter.getTime())/1000);
8
        return Math.ceil((exit.getTime()-enter.getTime())/1000);
9
}
9
}
10
function clock() {
10
function clock() {
11
 document.chrono.clock.value=rtick;
11
 document.chrono.clock.value=rtick;
12
rtick=fixrtick-tempo();
12
rtick=fixrtick-tempo();
13
 if(rtick<0) rtick=0;
13
 if(rtick<0) rtick=0;
14
 Timer= setTimeout("clock()",1000);                    
14
 Timer= setTimeout("clock()",1000);
15
}                  
15
}
16
</script>
16
</script>
17
!set wims_html_onload=clock();
17
!set wims_html_onload=clock();