/* *//* Jochen Leininger-Ditter 02.06.2005 JLD copyright */ function obj_Ticker() { this.Text=new Array(); this.ini=obj_Ticker_Ini; this.Show=""; this.Zeichen=48; this.Start=1; this.Timer=500; this.lauf=obj_Ticker_Lauf; this.Aktiv=true; this.TimerDo=true; this.Mode=2; } function obj_Ticker_Lauf() { if (!this.TimerDo) { setTimeout("laufschrift.lauf()",this.Timer); return; } var s,i,t,e,ne,m; s=this.Start+1; ne=s; t=""; e=this.Text.length-1; m=this.Zeichen; for (i=0;i<=m;i++) { if (s>=e) s=0; else s=s+1; t+=this.Text[s]; } if (ne>=e) ne=10; this.Start=ne; if (this.Mode==2) this.Show.value=t; else this.Show.innerHTML=t; //window.status=this.Timer; if (this.Aktiv) setTimeout("laufschrift.lauf()",this.Timer) } function obj_Ticker_Ini(zeichen) { var ti,a,b,i,s,e; if (typeof(document.all)!="undefined") ti=document.all.IdTicker; else { this.Aktiv=false; if (typeof(document.getElementById)!="undefined") { ti=document.getElementById("IdTicker") if (typeof(ti)=="undefined") return; } } if (typeof(ti)=="undefined") return; this.Show=ti; if (typeof(ti["idTickerTimer"])!="undefined") this.Timer=Math.floor(ti["idTickerTimer"]) if (typeof(ti["idTickerStart"])!="undefined") this.Start=Math.floor(ti["idTickerStart"]) var feldid=ti; if (this.Mode==2) { ti=unescape(this.Show.value); } else ti=this.Show.innerHTML; if (feldid.getAttribute("idTickerText")) ti=feldid.getAttribute("idTickerText") var pr=""; if (typeof(get_preis)!="undefined") pr=get_preis(0,0)+" €"; var str="if (typeof(get_preis)!="undefined") document.write(get_preis(0,0)+" €");" //alert(ti+"\n\n"+str); ti=ti.replace(str,"") ti=ti.split(">"); a=ti[0]; a=a.replace("€","§") a=a.replace("