uagent = window.navigator.userAgent.toLowerCase();IEB=(uagent.indexOf('msie') != -1)?true:false;var scompat = document.compatMode;var tss=null;var ts_cwidth=0;var ts_cheight=0;var ts_foldername="";var ts_folderset=0;var tscalc=0;var tstam=0;var tskalan=0;var tskalany=0;if((IEB==true)&&(scompat == "BackCompat" )){    ts_cwidth=556;    ts_cheight=208;}else{    ts_cwidth=556-2*(0);    ts_cheight=208-2*(0);}var ts_icwidth=556-2*(0);var ts_icheight=208-2*(0);var imagesizingholder="";document.write('<div style="position:relative;width:'+ts_cwidth+'px;height:'+ts_cheight+'px;overflow:hidden;border-style:'+'solid'+';border-width:'+0+'px;border-color:#'+'FFFFFF'+';'+''+''+'">');document.write('<div id="tsdv" style="position:relative;width:'+ts_icwidth+'px;height:'+ts_icheight+'px;overflow:hidden;padding:0px;margin:0px;z-index:1;FILTER: progid:DXImageTransform.Microsoft.Fade(Overlap=1.00,duration=3,enabled=false);"></div>');document.write('</div>');function tsSonraki(){	tsvcurr=tsvnext;	tsvnext=tsvnext+1;		if(tsvnext>=2)	{		tsvnext=0;		tstam=1;	}		tsobjc=document.getElementById('tsd'+tsvcurr);	tsobjn=document.getElementById('tsd'+tsvnext);		      }function tssecondcomplate(){	this.c=1;}function tsdevam(fm,pt){    if((imgarr[tsvnext].c==1)&&(imgarr[tsvcurr].c==1))    {        setTimeout(fm+'()',pt);    }    else    {        setTimeout('tsdevam("'+fm+'")',500);    }}function tszindx(){    tsobjn.style.visibility="visible";    tsobjc.style.zIndex=2;	tsobjn.style.zIndex=3;    }function tssl(){tsfademi=1;imgarr=new Array();imgstr=new Array();linkstr=new Array();clslinkstr=new Array();imgarr[0]=new Image();imgarr[0].c=0;imgarr[0].onload = tssecondcomplate;imgarr[0].src=ts_foldername+'tonnenstrumpf-titelbild.jpg';imgstr[0]=ts_foldername+'tonnenstrumpf-titelbild.jpg';linkstr[0]='<a href="http://www.tonnenstrumpf.de/referenzen.php" target="_self">';clslinkstr[0]='</a>';imgarr[1]=new Image();imgarr[1].c=0;imgarr[1].onload = tssecondcomplate;imgarr[1].src=ts_foldername+'titelbild-3x-index2.jpg';imgstr[1]=ts_foldername+'titelbild-3x-index2.jpg';linkstr[1]='<a href="http://www.tonnenstrumpf.de/referenzen.php" target="_self">';clslinkstr[1]='</a>';tsvcurr=0;tsvnext=0;tsvssdiv=null;stepc=20*(3);tsdif=0.00;tsop=1.00;tsdif=(1.00/stepc);dstr1='<div id="';dstr2='" style="position:absolute;visibility:hidden;left:0px;top:0px;padding:0px;margin:0px;overflow:hidden;">';dstr23='<table cellspacing="0" cellpadding="0" style="position:relative;left:0px;top:0px;padding:0px;margin:0px;"><tr><td style="width:'+ts_icwidth+'px;height:'+ts_icheight+'px;left:0px;top:0px;padding:0px;margin:0px;text-align:'+'center'+';vertical-align:'+'middle'+';">';dstr3='<img id="tsimg';dstr4='" src="';dstr5='" style="position:relative;border:0px;'+imagesizingholder+'" alt="" border="0"></img>';dstr56='</td></tr></table>';dstr6='</div>';this.tsdotrans=tsdotrans;this.tsinitte=tsinitte;this.tsinitte2=tsinitte2;this.tsbeftrans=tsbeftrans;this.tsdotransff=tsdotransff;}function tsdotrans(){	if(IEB==true){tsvssdiv.filters[0].apply();}	tsobjc.style.visibility="hidden";	tsobjn.style.visibility="visible";	if(IEB==true){tsvssdiv.filters[0].play();}    tsSonraki();		    if(tstam==0){tsdevam("tsdotrans",((1000*3)+6000));}    else    {        setTimeout('tsdotrans()',((1000*3)+6000));    } 		}function tsdotransff(){	tsop=tsop-tsdif;		if(tsop<(0.00)){tsop=0.00;}	tsobjc.style.opacity = tsop;	tsobjn.style.opacity = 1.00-tsop;	if(tsop>(0.00))	{		setTimeout('tsdotransff()',50);	}	else	{		tsobjc.style.zIndex=2;		tsobjn.style.zIndex=3;				tsSonraki();		        if(tstam==0){tsdevam("tsbeftrans",6000);}        else {setTimeout('tsbeftrans()',6000);}  					}}function tsbeftrans(){    	tsop=1.00;	tsobjc.style.visibility="visible";	tsobjn.style.visibility="visible";		tsobjc.style.zIndex=3;	tsobjn.style.zIndex=2;		tsobjc.style.opacity = 1.00;		tsobjn.style.opacity = 1.00;			tsdotransff();	}function tsDoSlide(){    tskalan=tskalan-Math.ceil(tskalan/3);	tsobjc.style.left=""+(tskalan-ts_icwidth)+"px";	tsobjn.style.left=""+tskalan+"px";	    if(tskalan<=0)    {            tsSonraki();        tskalan=ts_icwidth;	    tsobjn.style.left=""+tskalan+"px";	                tszindx();                          if(tstam==0){tsdevam("tsDoSlide",6000);}        else {setTimeout('tsDoSlide()',6000);}        }    else    {        setTimeout('tsDoSlide()',50);        } }function tsDoScrollUp(){    tskalan=tskalan-Math.ceil(tskalan/3);	tsobjc.style.top=""+(tskalan-ts_icheight)+"px";	tsobjn.style.top=""+tskalan+"px";	    if(tskalan<=0)    {            tsSonraki();        tskalan=ts_icheight;	    tsobjn.style.top=""+tskalan+"px";	        tszindx();                         if(tstam==0){tsdevam('tsDoScrollUp',6000);}        else{setTimeout('tsDoScrollUp()',6000);}        }    else    {        setTimeout('tsDoScrollUp()',50);        }}function tsDoBlindX(){    tskalan=tskalan-Math.ceil(tskalan/3);	tsobjc.style.left=""+(ts_icwidth-tskalan)+"px";	tsobjn.style.left=""+tskalan+"px";	    if(tskalan<=0)    {            tsSonraki();        tskalan=ts_icwidth;	    tsobjn.style.left=""+tskalan+"px";		    	        tszindx();                          if(tstam==0){tsdevam("tsDoBlindX",6000);}        else{setTimeout('tsDoBlindX()',6000);}    }    else    {        setTimeout('tsDoBlindX()',50);        }}function tsDoBlindY(){    tskalan=tskalan-Math.ceil(tskalan/3);	tsobjc.style.top=""+(ts_icheight-tskalan)+"px";	tsobjn.style.top=""+tskalan+"px";	    if(tskalan<=0)    {        tsSonraki();        tskalan=ts_icheight;	    tsobjn.style.top=""+tskalan+"px";                tszindx();                         if(tstam==0){tsdevam("tsDoBlindY",6000);}        else{setTimeout('tsDoBlindY()',6000);}        }    else    {        setTimeout('tsDoBlindY()',50);        } }function tsinitte2(){	tsvssdiv=document.getElementById("tsdv");	if(2>0)	{		tsobjc=document.getElementById('tsd'+0);			tsobjc.style.visibility="visible";		}	if(2>1)	{	    tsvcurr=0;        tsvnext=0;        if(tsfademi==0)        {			tsvcurr=0;			tsvnext=1;			setTimeout('tsdotrans()',6000);                }        else if(tsfademi==1)        {            if(IEB==true)            {	    		tsSonraki();	    		tsdevam("tsdotrans",6000);                       }            else            {	    		tsSonraki();	    		tsdevam("tsbeftrans",6000);                        }        }         else if(tsfademi==2)        {            tskalan=ts_icwidth;                        tsSonraki();        	tsobjn.style.left=""+tskalan+"px";            	            tszindx();                        tsdevam("tsDoSlide",6000);		   	                }        else if(tsfademi==3)        {            tskalan=ts_icheight;                        tsSonraki();        	tsobjn.style.top=""+tskalan+"px";            	            tszindx();                                    tsdevam("tsDoScrollUp",6000);               }                  else if(tsfademi==4)        {                        tskalan=ts_icwidth;                        tsSonraki();        	tsobjn.style.left=""+tskalan+"px";	            	            tszindx();                                   tsdevam("tsDoBlindX",6000);                 }            else if(tsfademi==5)        {                        tskalan=ts_icheight;                        tsSonraki();        	tsobjn.style.top=""+tskalan+"px";            	            tszindx();                                  tsdevam("tsDoBlindY",6000);                 }												}}function tsinitte(){	i=0;	innertxt="";	for(i=0;i<2;i++)	{		innertxt=innertxt+dstr1+"tsd"+i+dstr2+dstr23+linkstr[i]+dstr3+i+dstr4+imgstr[i]+dstr5+dstr56+clslinkstr[i]+dstr6;	}	spage=document.getElementById('tsdv');	spage.innerHTML=""+innertxt;    setTimeout('tsinitte2()',100);}function tsSetFolder(fn){    ts_foldername=fn;    ts_folderset=1;}function tsBas(){    if(ts_folderset==1)    {        tss=new tssl();        tss.tsinitte();    }    else    {        setTimeout('tsBas()',100);    }}setTimeout('tsBas()',100);