		userAgent = navigator.userAgent.toLowerCase();
		n4 = document.layers;
		ie = (document.all && userAgent.indexOf("mac")<0);
		// ie4=document.all&&navigator.userAgent.indexOf("Opera")==-1;
		w3c = document.documentElement;
		dhtml = ((n4 || ie || w3c) &&  userAgent.indexOf("aol")<0);
		TickerRun = 1; // default: Ticker bewegt sich

		function Ticker(name, parentId, id, breite){
		     this.name = name;
		     this.breite = breite;
		     this.el = n4? document.layers[parentId].document.layers[id] : ie? document.all[id] : document.getElementById(id);
		     this.css = n4 ? this.el : this.el.style;
		     this.inhaltBreite = n4? this.el.document.width : this.el.offsetWidth;
		     this.inhaltX = 0;
		     this.speed = 2;
		     this.links = TickerLinks;
			 this.richtung = 1;  // 1 = links , -1 = rechts
		     this.stop = TickerStop;
		}

		function TickerLinks() {
	  	  	this.stop();
	  	  	this.timer = setTimeout(this.name+".links()", 45);
			if ( this.richtung == 1 ) {
				if (this.inhaltX > (-1 * this.inhaltBreite + (0.8 * this.breite))) {
					this.inhaltX = this.inhaltX - this.speed;
				}
  		  		else { 
  		  			this.richtung = -1; 		
  				}
			} else {
				if (this.inhaltX < (this.inhaltBreite - (1.3 * this.breite))) {
					this.inhaltX = this.inhaltX + this.speed;
				}
  		  		else { 
  		  			this.richtung = 1; 
  		  		}
  			}
//			alert("TickerLinks\n"+"inhaltX="+this.inhaltX+"\ninhaltBreite="+this.inhaltBreite+"\ncss.left="+this.css.left);
  	  		this.css.left =  this.inhaltX + "px"; // this.inhaltX;
		}

		function TickerStop() {
  	   		if (this.timer) clearTimeout(this.timer);
		}

		function TickerInit(){
				 if ( TickerRun == 0 ) return;
		     if (!dhtml) return;
				 var id = 'tickerText';
				 if (! ((n4 && document.layers[id]) || (ie && document.all[id]) || document.getElementById(id))) return;
//				 if ( ! document.all['tickerText'] && ! document.getElementById('tickerText') ) return;
				 einTicker = new Ticker("einTicker", "tickerDiv", "tickerText", 200);
				 if ( TickerRun && TickerRun != 0 ) einTicker.links();
		}


