    //Globale Variablen
    var statusText="Die Webseite wurde am 03.02.2012 um 19:20 Uhr aktualisiert!";
    var started=false;
    var step=0;
    var times=1;

	//Wegen Laufzeitfehler - abgespeckte Version
	function StatusText_neu()
    {
		window.status = statusText;
	}
	
	function CheckStatusText()
	{
	  if (window.status == "")
	  {
	   started=false;
	   Start_StatusText();
	  }
	  
	 setTimeout("CheckStatusText()",10000); 
	}
	
    function Start_StatusText()
    {
      times--
      if (times==0)
      {
        if (started==false)
        {
          started = true;
          window.status = statusText;
          setTimeout("anim()",1);
        }
        thetext = statusText;
      }
    }

    function anim()
    {
	// Anzahl der Textanimation
      step++
      if (step==7) {step=1}
      if (step==1) {window.status='>==='+thetext+'===<'}
      if (step==2) {window.status='=>=='+thetext+'==<='}
      if (step==3) {window.status='>=>='+thetext+'=<=<'}
      if (step==4) {window.status='=>=>'+thetext+'<=<='}
      if (step==5) {window.status='==>='+thetext+'=<=='}
      if (step==6) {window.status='===>'+thetext+'<==='}
      setTimeout("anim()",200);			// Geschwindigkeit der Animation
    }


var tx = new Array ("Willkommen","bei der","Freiwillige", "Feuerwehr", "Zeckern"); 
var txcount = 5; 
var i = 1; 
var wo = 0; 
var ud = 1; 

function animtit() { 
if (ud == 0) i--; 
if (ud == 1) i++; 

if (i == -1) { 
ud = 1; 
i = 0; 
wo++; 
wo = wo % txcount; 
} 
if (i == tx[wo].length + 10) { 
ud = 0; 
i = tx[wo].length; 
} 
top.document.title = " - - - " + tx[wo].substr(0, i) + " - - "; 
setTimeout("animtit()", 100); 
} 
