        //scroller width
        var swidth=184;

        //scroller height
        var sheight=100;

        //background color
        var sbcolor='#993300';

        //scroller's speed
        var sspeed=1;

        var msg='';
        var msg_eng='';

        //Your messages go below:
        // old: '<li>Bewerben Sie sich jetzt auf die noch zu vergebenen Schulplätze 2010/2011.<br><br>Gerne stehen wir Ihnen jeden Donnerstag Vormittag für individuelle Termine zur Verfügung.<br><br>Unser nächster Infoabend inklusive Rundgang findet am 22. Juni 2010 um 19:30 Uhr statt.<br><br>Wir freuen uns auf Sie!</li>'+
        // old eng: '<li>Apply now for one of the remaining vacancies for 2010/2011.<br><br>Please feel invited to arrange an appointment for Thursday mornings.<br><br>The next \'Informational Evening\' including a tour through our premises takes place on June 2th, 2010 at 7:30pm. Looking forward to welcome you!</li>'+
            
        msg +=
            '<ul>'+
            '<li>Bewerben Sie sich jetzt auf die noch zu vergebenden Schulplätze 2011/2012.<br><br>Gerne stehen wir Ihnen jederzeit für individuelle Termine zur Verfügung.<br><br>Wir freuen uns auf Sie!</li>'+
            '</ul>';                     

        msg_eng +=
            '<ul>'+
            '<li>Apply now for one of the remaining vacancies for 2011/2012.<br><br>Please feel invited to arrange an appointment.<br><br>Looking forward to welcome you!</li>'+
            '</ul>';    
                             
        //End of your messages
        // Begin the ticker code

        var resumesspeed=sspeed;
                
        function startTicker(lang) {
                if (lang == "e") {
                  msg = msg_eng;
                }
                if (document.all) iemarquee(ticker);
                else if (document.getElementById)
                        ns6marquee(document.getElementById('ticker'));
        }
        
        function iemarquee(whichdiv){
                iediv=eval(whichdiv)
                sheight += 50;
                iediv.style.pixelTop=sheight
                iediv.innerHTML=msg 
                sizeup=iediv.offsetHeight
                ieslide()
        }
        
        function ieslide(){
                if (iediv.style.pixelTop>=sizeup*(-1)){
                        iediv.style.pixelTop-=sspeed
                        setTimeout("ieslide()",100)
                } else{
                        iediv.style.pixelTop=sheight
                        ieslide()
                }
        }
        
        function ns6marquee(whichdiv){
                ns6div=eval(whichdiv)
                sheight += 50;
                ns6div.style.top=sheight + "px";
                ns6div.innerHTML=msg
                sizeup=ns6div.offsetHeight
                ns6slide()
        }
        function ns6slide(){
                if (parseInt(ns6div.style.top)>=sizeup*(-1)){
                        theTop = parseInt(ns6div.style.top)-sspeed
                        ns6div.style.top = theTop + "px";
                        setTimeout("ns6slide()",100)
                } else {
                        ns6div.style.top = sheight + "px";
                        ns6slide()
                }
        }

