function showTicker(){
		
		if(copyspeed==0){
			var _obj = document.getElementById("ticker");
			var _nLeft = parseInt(_obj.style.left) - _incre;
			var _nWidth = parseInt(_obj.style.width) + _incre;
			_obj.style.width =  parseInt(_nWidth) +"px";
			if(_nLeft){_obj.style.left =  parseInt(_nLeft) +"px";}
			if(_nLeft<=_left){
				clearInterval(lefttime);
				lefttime=setInterval("init()",3000)
			}else{
				//setTimeout('showTicker()',20);
			}
		}
	}

	
	function init(){
		if(copyspeed==0){
			var _obj = document.getElementById("ticker");
			_obj.style.width = 0 + "px";
			_obj.style.left =  parseInt(_left +_width) + "px";
			var str = ""
			str+="<table width='"+_width+"px' border='0' cellspacing='0' cellpadding='0'>";
			str+="  <tr>";
			str+="	<td width='123' class='tickerHeader' id='header'>" + header[posId]  + "</td>";
			str+="	<td width='779' id='texto' class='tickerTexto'>";
			str+="	<div style='position:relative;overflow:hidden;width:"+_width+"px;margin:2;padding:0'><a href='" + linka[posId]  + "'>"		+ texto[posId]  + "</a></div>";			
			str+="	</td>";
			str+="  </tr>";
			str+="</table>";	
			
			_obj.innerHTML = str;
			if(posId<texto.length-1){
				posId++;
			}else{
				posId = 0;
			}
			clearInterval(lefttime);
			lefttime=setInterval("showTicker()",1)
		}else{
			clearInterval(lefttime);
			lefttime=setInterval("init()",10)
		}
	}
	
	window.onload=init