
var swidth=300
var sheight=20
var sspeed=2

var singletext=new Array()

singletext[0]='<div align="left"><a href="http://tibet-comfort.de/tibet.php?ixp=pauschal&typ=P&cfg=0190008270000000&ref=ferien-xl&stp=2&epc=2&vnd=7&bsd=300&tdc=&mmc=1w&hmi=ALLE&dsi=PMI&stc=*&zac=*&vpc=*&css=http://www.lastminute-fachmann.de/tibetstyle.css&hmask=1" target="unten"><font style="font-family:Arial; font-size:13px; color:#004F68">Unsere Lieblingsinsel - <b>Mallorca</b></a></div>'

singletext[1]='<div align="left"><a href="http://tibet-comfort.de/tibet.php?ixp=pauschal&typ=P&cfg=0190008270000000&ref=ferien-xl&stp=2&epc=2&vnd=7&bsd=300&tdc=&mmc=1w&hmi=ALLE&dsi=PMI&stc=*&zac=*&vpc=*&css=http://www.lastminute-fachmann.de/tibetstyle.css&hmask=1" target="unten"><font style="font-family:Arial; font-size:13px; color:#ff0000"><b>schon ab 199,- Euro</b></a></div>'

singletext[2]='<div align="left"><a href="http://tibet-comfort.de/tibet.php?ixp=pauschal&typ=P&cfg=0190008270000000&ref=ferien-xl&stp=2&epc=2&vnd=7&bsd=300&tdc=&mmc=1w&hmi=ALLE&dsi=IST&stc=*&zac=*&vpc=*&css=http://www.lastminute-fachmann.de/tibetstyle.css&hmask=1" target="unten"><font style="font-family:Arial; font-size:13px; color:#004F68"><b>Shopping in Istanbul: Hotel inkl. Flug </font><font color="#ff0000">ab 159,- Euro</b></a></div>'

singletext[3]='<div align="left"><a href="http://tibet-comfort.de/tibet.php?ixp=pauschal&typ=P&cfg=0190008270000000&ref=ferien-xl&stp=2&epc=2&vnd=7&bsd=300&tdc=&mmc=1w&hmi=ALLE&dsi=AYT,ADB,BJV,DLM&stc=*&zac=*&vpc=*&css=http://www.lastminute-fachmann.de/tibetstyle.css&hmask=1" target="unten"><font style="font-family:Arial; font-size:13px; color:#004F68"><b>Strandurlaub Türkei: Hotel inkl. Flug </font><font color="#ff0000">ab 159,- Euro</b></a></font></div>'

singletext[4]='<div align="left"><a href="http://tibet-comfort.de/tibet.php?ixp=pauschal&typ=P&cfg=0190008270000000&ref=ferien-xl&stp=2&epc=2&vnd=7&bsd=300&tdc=&mmc=1w&hmi=ALLE&dsi=LPA&stc=*&zac=*&vpc=*&css=http://www.lastminute-fachmann.de/tibetstyle.css&hmask=1" target="unten"><font style="font-family:Arial; font-size:13px; color:#004F68"><b>Gran Canaria: Hotel inkl. Flug </font><font color="#ff0000">ab 359,- Euro</b></a></div>'

singletext[5]='<div align="left"><a href="http://tibet-comfort.de/tibet.php?ixp=pauschal&typ=P&cfg=0190008270000000&ref=ferien-xl&stp=2&epc=2&vnd=7&bsd=300&tdc=&mmc=1w&hmi=ALLE&dsi=MIR&stc=*&zac=*&vpc=*&css=http://www.lastminute-fachmann.de/tibetstyle.css&hmask=1" target="unten"><font style="font-family:Arial; font-size:13px; color:#004F68"><b>Tunesien: Hotel inkl. Flug </font><font color="#ff0000">ab 368,- Euro</b></a></div>'

singletext[6]='<div align="left"><a href="http://tibet-comfort.de/tibet.php?ixp=pauschal&typ=P&cfg=0190008270000000&ref=ferien-xl&stp=2&epc=2&vnd=7&bsd=300&tdc=&mmc=1w&hmi=ALLE&dsi=CDG&stc=*&zac=*&vpc=*&css=http://www.lastminute-fachmann.de/tibetstyle.css&hmask=1" target="unten"><font style="font-family:Arial; font-size:13px; color:#004F68"><b>Shopping in Paris: Hotel inkl. Flug </font><font color="#ff0000">ab 179,- Euro</b></a></div>'

singletext[7]='<div align="left"><a href="http://tibet-comfort.de/tibet.php?ixp=pauschal&typ=P&cfg=0190008270000000&ref=ferien-xl&stp=2&epc=2&vnd=7&bsd=300&tdc=&mmc=1w&hmi=ALLE&dsi=JFK&stc=*&zac=*&vpc=*&css=http://www.lastminute-fachmann.de/tibetstyle.css&hmask=1" target="unten"><font style="font-family:Arial; font-size:13px; color:#004F68"><b>New York New York: Hotel inkl. Flug </font><font color="#ff0000">ab 599,- Euro</b></a></div>'



if (singletext.length>1)
    i=1
else
    i=0

function start(){
    if (document.all){
        ieslider1.style.left=swidth
        iemarquee(ieslider1)
    }
    else if (document.layers){
        document.ns4slider.document.ns4slider1.left=swidth
        document.ns4slider.document.ns4slider1.visibility='show'
        ns4marquee(document.ns4slider.document.ns4slider1)
    }
    else if (document.getElementById&&!document.all){
        document.getElementById('ns6slider1').style.left=swidth
        ns6marquee(document.getElementById('ns6slider1'))
    }
}

function iemarquee(whichdiv){
    iediv=eval(whichdiv)
    if (iediv.style.pixelLeft>0&&iediv.style.pixelLeft<=sspeed){
        iediv.style.pixelLeft=0
        setTimeout("iemarquee(iediv)",5)
    }
    if (iediv.style.pixelLeft>=swidth*-1){
        if (iediv.style.pixelLeft == 14){
            setTimeout("iemarquee(iediv)",3000)
            iediv.style.pixelLeft-=sspeed
        }
        else{
            iediv.style.pixelLeft-=sspeed
            setTimeout("iemarquee(iediv)",5)
        }
    }
    else{
        iediv.style.pixelLeft=swidth
        iediv.innerHTML=singletext[i]
        if (i==singletext.length-1)
            i=0
        else
            i++
    }
}

function ns4marquee(whichlayer){
    ns4layer=eval(whichlayer)
    if (ns4layer.left>0&&ns4layer.left<=sspeed){
        ns4layer.left=0
        setTimeout("ns4marquee(ns4layer)",5)
    }
    if (ns4layer.left>=swidth*-1){
        if (ns4layer.left == 14){
            setTimeout("ns4marquee(ns4layer)",3000)
            ns4layer.left-=sspeed
        }
        else{
            ns4layer.left-=sspeed
            setTimeout("ns4marquee(ns4layer)",5)
        }
    }
    else{
        ns4layer.left=swidth
        ns4layer.document.write(singletext[i])
        ns4layer.document.close()
    if (i==singletext.length-1)
        i=0
    else
        i++
    }
}

function ns6marquee(whichdiv){
    ns6div=eval(whichdiv)
    if (parseInt(ns6div.style.left)>0&&parseInt(ns6div.style.left)<=sspeed){
        ns6div.style.left=0
        setTimeout("ns6marquee(ns6div)",5)
    }
    if (parseInt(ns6div.style.left)>=swidth*-1){
        if (parseInt(ns6div.style.left) == 14){
            setTimeout("ns6marquee(ns6div)",3000)
            ns6div.style.left=parseInt(ns6div.style.left)-sspeed
        }
        else{
            ns6div.style.left=parseInt(ns6div.style.left)-sspeed
            setTimeout("ns6marquee(ns6div)",5)
        }
    }
    else{
        ns6div.style.left=swidth
        ns6div.innerHTML=singletext[i]
        if (i==singletext.length-1)
            i=0
        else
            i++
    }
}



