<!--

/*    
Feel free to reuse or modify this code, provided this header remains in tact   
*/

function snapIn(jumpSpaces,position) {                

        var out = "Campi Gartenpflege & Gestaltung GmbH    "      

       if (killScroll) {return false}        

        for (var i=0; i<position; i++){

                out += msg.charAt(i)}        

        for (i=1;i<jumpSpaces;i++) {

                out += " "}        

        out += msg.charAt(position)        

        window.status = out        

        if (jumpSpaces <= 1) {        

                position++        

        if (msg.charAt(position) == ' ') {

                position++ }

                jumpSpaces = 100-position        

        } 

        else if (jumpSpaces > 3 ) {

                jumpSpaces *= .1}        // .75  

        else {

                jumpSpaces--}        

        if (position != msg.length) {        

                var cmd = "snapIn(" + jumpSpaces + "," + position + ")";        

                scrollID = window.setTimeout(cmd,5);        //5

        } 

        else {        

                scrolling = false

                return false         

        }        

        return true

}


function snapSetup() {        

        if (scrolling)           

    //    if (!confirm('Re-initialize snapIn?'))        

    //    return false

        // only way to break the function        

        // if its already running        

        killScroll = true  

        // will cause recursive snapIn to break

        scrolling = true   

        // sets so that this function can't run twice        

        // without breaking the first instance        

        var killID = window.setTimeout('killScroll=false',6)       //6

        // now that first occurance was killed,        

        // reset it so that this instance can proceed        

        scrollID = window.setTimeout('snapIn(100,0)',10)        //Orginal 100,0

        // make sure it waits until killScroll is reset        

        return true    

        //must return true to comply with above break
}


//-------------------------------------------------------------
        var scrollID = Object

        var scrolling = false        

        var killScroll = false
//-------------------------------------------------------------



function startseite()
{
msg = "Startseite"   
snapSetup();
}


function angebot()
{
msg = "Gartenbau, Gartenpflege und Gestaltung. Ihr Garten in professioneller Hand. "   
snapSetup();
}


function kontakt() 
{
msg = "Kontakt"   
snapSetup();
}


function moonlight() 
{
msg = "Hochwertige und langlebige Kugelleuchten von Moonlight."   
snapSetup();
}


function referenzen() 
{
msg = "Einige Referenzen"   
snapSetup();
}


function stellen()
{
msg = "Stellenangebot"   
snapSetup();
}


function onlineshop() 
{
msg = "Besuchen Sie unseren umfangreichen Onlineshop der Gartenzone.ch !"   
snapSetup();
}


function lampenkatalog() 
{
msg = "Aussenlampen, Gartenlampen, Innenlampen, Nasszellenlampen uvm..."  
snapSetup();
}


function kataloge() 
{
msg = "Diverse Kataloge für Gärtner und Laien."  
snapSetup();
}


function wetter() 
{
msg = "Wetterprognosen in der Region Zürichsee.."   
snapSetup();
}


function gartenmoebel() 
{
msg = "Gartenmöbel und Gartenlounges "   
snapSetup();
}


function abschied() 
{
msg = "zum Gedenken an Marianne Campi"   
snapSetup();
}


function cheminee() 
{
msg = "Qualitätscheminées für gelungene Grillanlässe."   
snapSetup();
}


function solar() 
{
msg = "Alle unsere Solarprodukte im Überblick."   
snapSetup();
}


function gartenbrunnen() 
{
msg = "Alle unsere Gartenbrunnen im Überblick."   
snapSetup();
}


function weisszement() 
{
msg = "Traumhafte Weisszement Schalenbrunnen für den speziellen Garten."   
snapSetup();
}


function fototapeten() 
{
msg = "Fototapeten im Überblick."   
snapSetup();
}

function palmenhaus() 
{
msg = "Palmenhäuser als sicherer Überwinterungsschutz für Pflanzen."   
snapSetup();
}

function kunstpflanzen() 
{
msg = "Naturgetreu wirkedne Kunstpflanzen."   
snapSetup();
}


//-->
