var moStop=true;var tSpeed=2;var cps=tSpeed;var aw,mq;function tickerscrollrtl(tWidth){mq.style.left=(parseInt(mq.style.left)>(-10-aw))?parseInt(mq.style.left)-cps+"px":parseInt(tWidth)+10+"px";}
function tickerstart(id,content,speed){if(document.getElementById){cps=tSpeed=speed;var t=document.getElementById(id);var tWidth=t.clientWidth;var tHeight=t.clientHeight;var fsz=parseInt(tHeight)-4;var tick='<div style="position:relative;width:'+tWidth+'px;height:'+tHeight+'px;overflow:hidden;"';if(moStop)
tick+=' onmouseover="cps=0" onmouseout="cps=tSpeed"';tick+='><div id="mq" style="position:absolute;left:0px;top:0px;white-space:nowrap;"><\/div><\/div>';t.innerHTML=tick;mq=document.getElementById("mq");mq.style.left=(parseInt(tWidth)+10)+"px";mq.innerHTML='<span id="tx">'+content+'<\/span>';aw=document.getElementById("tx").offsetWidth;lefttime=setInterval("tickerscrollrtl('"+tWidth+"')",50);}}
