-/* vim: set ts=4 tw=0 sw=4 noet: */
+/* vim: set ts=4 tw=4 sw=4 noet: */
var timerRef=setInterval(function(){myTimer()},1000);
var timeStart = new Date().getTime() + timeout;
var timeLeft = Math.round(((expire % 86400000) % 3600000) / 60000);
if (timeLeft < 0) {
- timeLeft = 'Expired';
- document.getElementById("time").style.background = "red";
+ /*timeLeft = 'Expired';
+ document.getElementById("time").style.background = "red";*/
clearInterval(timerRef);
+ location.reload();
} else {
timeLeft += 1;
timeLeft = '< ' + timeLeft + ' min';