adding some strings
[moodle-linuxchix.git] / mod / hotpot / template / v6 / hp6hotpotnet.js_
blob1ed71f37aa6b16a2d688bc729c7f19bb8b5ed40c
2 //HOTPOTNET-RELATED CODE
4 var HPNStartTime = (new Date()).getTime();
5 var SubmissionTimeout = 30000;
6 var Detail = ''; //Global that is used to submit tracking data
8 function Finish(){
9 //If there's a form, fill it out and submit it
10         if (document.store != null){
11                 Frm = document.store;
12                 Frm.starttime.value = HPNStartTime;
13                 Frm.endtime.value = (new Date()).getTime();
14                 Frm.mark.value = Score;
15                 Frm.detail.value = Detail;
16                 Frm.submit();
17         }