// JavaScript Document
<!--
(function() {
    var pthis = this;
    this.$ = function(a) {
        if (document.getElementById) {
            return eval('document.getElementById("' + a + '")')
        } else {
            if (document.layers) {
                return eval("document.layers['" + a + "']")
            } else {
                return eval("document.all." + a)
            }
        }
    };
    this.SinaDotMarquee = function(id, h, s, d) {
        var apthis = this;
        var t;
        var p = false;
        var o = pthis.$(id);
        o.style.overflow = "hidden";
        o.style.height = h + "px";
        o.style.lineHeight = h + "px";
        o.innerHTML += o.innerHTML;
        o.onmouseover = function() {
            p = true
        };
        o.onmouseout = function() {
            p = false
        };
        o.scrollTop = 0;
        this.doScroll = function() {
try{
t = setInterval(apthis.scrolling, s);
if (!p) {
o.scrollTop += 2
}
}catch(e){}
        };
        this.scrolling = function() {
try{
if (o.scrollTop % h != 0) {
o.scrollTop += 2;
if (o.scrollTop >= o.scrollHeight / 2) {
o.scrollTop = 0
}
} else {
clearInterval(t);
setTimeout(apthis.doScroll, d)
}
}catch(e){}
        };
        setTimeout(apthis.doScroll, d)
    };
    try {
        var SinaDotMarquee01 = new SinaDotMarquee("googleRS", 20, 40, 2000)
    } catch(e) {}
})();
//-->

