function gotoIndex () {
   window.setTimeout("gotoUrl()",3000);
}

function gotoUrl () {
   refUrl = top.location.href;
//   alert (refUrl);
   if ((refUrl.match("index") == "index") || (refUrl.match("fs_") == "fs_")) umleit = false;
   else umleit=true;
//   if (umleit) window.location.href="index.html";
   if (umleit) top.location.href="index.html";
   else return;
}



/*
Führt eine Anweisung nach einer bestimmten Verzögerungszeit aus. Erwartet zwei Parameter:
1. Code = Eine JavaScript-Anweisung, die wiederholt werden soll. Meistens ein Funktionsaufruf.
2. Pause = Wert in Millisekunden bis zum Ausführen.

Beispiel:
 Anzeigebeispiel: So sieht's aus

<html><head><title>Test</title>
<script type="text/javascript">
<!--
function Hinweis() {
var x = confirm("Sie sind jetzt schon 10 Minuten auf dieser Seite. Fortfahren?");
 if(x == false) top.close();
}
window.setTimeout("Hinweis()",600000);
//-->
</script>
</head><body>
</body></html>

 
*/