<Script language="JavaScript"> <!-- function clickIE() {if (document.all) {(message);return false;}} function clickNS(e) {if (document.layers||(document.getElementById&&!document.all)) { if (e.which==2||e.which==3) {return false;}}} if (document.layers) {document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;} else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;} document.oncontextmenu=new Function("return false"); function confirmChoice() { var value = confirm("Are you sure?"); if (value == true) { wait(); return true; } else { return false; } } function checkBox(value) { if(value == '-') { alert("Choose from the list"); return false; } else { wait(); return true; } } function live_gametime(days, hours, minutes) { minutes += 1; if(minutes > 59) { minutes = 0; hours += 1; } if(hours > 23) { hours = 0; days += 1; } t_days = days; t_hours = hours; t_minutes = minutes; if(minutes < 10) { t_minutes = "0"+minutes; } if(hours < 10) { t_hours = "0"+hours; } time = "Day "+t_days+" "+t_hours+":"+t_minutes; obj_gametime = document.getElementById('gametime_id'); obj_gametime.innerHTML = time; setTimeout("live_gametime("+days+", "+hours+", "+minutes+")", 60000/4); } // --> </script> </head> <div id="gametime_id">Day </div> </div> <!-- Live gametime counter --> <Script language="JavaScript"> <!-- live_gametime(0, 00, 00-1); // --> </script> </body> </html>