30c30,32
<         <th class="generaltableheader" width="100%" scope="col"><?php print_string("timeleft","quiz");?></th>
---
>         <th class="generaltableheader" width="100%" scope="col"><?php print_string("timeleft","quiz");?>
>             <a onClick="hideTimer()">(hide&nbsp;timer)</a>
>         </th>
56a59,78
> 
> function hideTimer() {
>     //How many milliseconds remain in the quiz?
>     quizTimerValue = 1000 * Math.floor((ec_quiz_finish - new Date().getTime())/1000);
>     var delay;
>     if(quizTimerValue<0) { //If time has already expired, do nothing
>         return;
>     }else if(quizTimerValue<60000) { //If less than one minute remains, only hide for half that time
>         delay=quizTimerValue/2;
>     }else { //If one minute or more remains, hide for one minute
>         delay=60000;
>     }
>     timerbox.style.display='none';
>     setTimeout('showTimer()', delay);
> }
> 
> function showTimer() {
>     timerbox.style.display='block';
> }
> 
