// JavaScript Document
<!-- Begin Ticker am unteren rand der Seite
/************************************************************************  
Script made by Martial Boissonneault © 2001 http://getElementById.com/
This script may be used and changed freely as long as this msg is intact
Visit http://getElementById.com/ for more free scripts and tutorials.
*************************************************************************/
var ie5 = (document.getElementById && document.all);
var ns6 = (document.getElementById && !document.all);

var nWidth = 1000;          // width of text; more text you have higher this number is.
var nSpeed = 2;            // the speed of the ticker.
var nBgOff = "4E72A6";    // the background-color onmouseout.
var nBgOn  = "#aabbdd";    // the background-color onmouseover.
var nCoOff = "#aabbdd";    // the font-color onmouseout.
var nCoOn  = "#ff9900";    // the font-color onmouseover.

/* You don't have to edit below this line */

var nEnd = -nWidth;  
var nLeft = nWidth;
var timerTt = null;
var timerSt = null;


/* Linksteuerung */

function Seitebuch(URL1,F1,URL2,F2)
    {  
     frames[F1].location.href=URL1;
     frames[F2].location.href=URL2;
	 
    }

function Statik() {
    if(ie5) {
        scrollY = document.body.scrollTop;
        innerHeight = document.body.clientHeight;
}
    if (ie5 || ns6) {
        obj.style.top = (innerHeight - obj.offsetHeight) + scrollY;
        obj.style.left = 0;
	obj.style.width = 100 + "%";
	timerSt=setTimeout("Statik()", 10);
	}
}

function TickerTape(){
    if(ie5) {
        innerWidth = document.body.clientWidth;
}
    if(ie5 || ns6) {
        obj.style.backgroundColor = nBgOff;
	obj.style.color = nCoOff;
        tck.style.left = nLeft;
        tck.style.width = nWidth;
        nLeft = nLeft - nSpeed;
        if( nLeft < nEnd ) {nLeft = innerWidth;}
        timerTt=setTimeout('TickerTape()', 30);
    }
}

function StopIt(){
        clearTimeout(timerTt);
        obj.style.backgroundColor = nBgOn
	obj.style.color = nCoOn
}

function TickerInit(){
    if(ie5 || ns6) {
        tck = document.getElementById('text');
        obj = document.getElementById('cont');
        obj.style.visibility = "visible";
        obj.onmouseover=StopIt;
        obj.onmouseout=TickerTape;
        TickerTape();
	Statik();
    }
}
/*  Adventskalenderanzeige  */

function advent() {
msg=window.open("Adventskalender/adventskalender.html","msg","height=500,width=600,left=60,top=20");
}
/*  Fenster öffnen  */
function Fenster(ziel)
{
    if(window.NeuWindow && NeuWindow.closed == false) {
         NeuWindow.location=ziel;
         NeuWindow.focus();
       }
       else {
NeuWindow=window.open(ziel,"MyWindow","width=500, height=500,toolbar=no,scrollbars=yes,status=no, resizable=yes");
         NeuWindow.focus();
       }
}
function sportsteuerung(name)
{
javascript:parent.inaktiv(); 
javascript:parent.sport(name);
}

// End -->