var tWidth='223px';
var tHeight='12px';
var moStop=true;
var tSpeed=3;

var cps=tSpeed;
var aw, mq;
function startticker() {
    if (document.getElementById) {
        var tick = '<div style="position:relative;width:'+tWidth+';height:'+tHeight+';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>';
        var c = document.getElementById('marq').innerHTML;
        document.getElementById('marq').innerHTML = tick;
        mq = document.getElementById("mq");
        mq.innerHTML='<span id="tx">' + c + '<\/span>';
        aw = document.getElementById("tx").offsetWidth;
        mq.style.left=(-10 -aw)+"px";
        lefttime=setInterval("scrollticker()",50);
    }
}

function scrollticker() {
    mq.style.left = (parseInt(mq.style.left)>(parseInt(tWidth)+10)) ? (-10-aw)+"px" : parseInt(mq.style.left)+cps+"px";
}
if (typeof (window.onload) == 'function') {
    oF = window.onload
    window.onload = function() {
        oF()
        startticker()
    }
} else {
    window.onload = function() {
       startticker()
    }
}
