2 var countDown = "{?surfbar_restart_time?}";
3 var timer = document.getElementById("surfbar_counter");
4 var buttonDiv = document.getElementById("surfbar_button");
7 this.location.reload();
10 function showButton () {
11 buttonDiv.innerHTML = "<form accept-charset='utf-8' action='{%url=surfbar.php%}' target='_self' method='GET'><input type='hidden' name='frame' value='top' /><input type='submit' id='member_submit' value='Surfbar erneut starten' /></form>";
16 if ({%pipe,getRequestParameter=autostart%} == true) {
21 window.clearInterval(interval);
24 timer.innerHTML = countDown;
29 interval = window.setInterval("counter()", 1000);
30 timer.innerHTML = "{?surfbar_restart_time?}";
33 window.setTimeout("init()", 500);