<div align="center">
- <div class="member_table dashed" style="width:500px">
- <div class="member_title2 bottom2">
+ <div class="member_table dashed" style="width:500px;height:50px">
+ <div id="member_title2 bottom">
<strong>Surfbar angehalten!</strong>
</div>
- Keine URLs mehr verfürgbar oder Datenbankfehler liegt vor.<br />
- Neustart in <span id="surfbar_restart">$content[start]</span> Sekunden
+ <div id="surfbar_button">
+ Keine URLs mehr verfügbar oder Datenbankfehler liegt vor.<br />
+ Neustart in <span id="surfbar_counter">$content[start]</span> Sekunden
+ </div>
</div>
</div>
-<script language="JavaScript" type="text/javascript">
-<!--
-var counter = "$content[restart]";
-var timer = document.getElementById("surfbar_restart");
-
-function Restart() {
- this.location.reload();
-}
-
-function Counter () {
- if (counter == 0) {
- Restart();
- } else {
- counter--;
- timer.innerHTML = counter;
- }
-}
-
-function Init () {
- window.setInterval("Counter()", 1000);
- timer.innerHTML = "$content[restart]";
-}
-
-window.setTimeout("Init()", 500);
-
-//-->
-</script>
\ No newline at end of file
+<script src="{?URL?}/js.php?js=surfbar_stopped{%version=surfbar%}&restart=$content[restart]&autostart=$content[autostart]"
+ type="text/javascript"></script>