var marqueeContent=new Array();
marqueeContent[0]='<font color=red>本站己修复无法播放的影片，如您发现还有无法播放的影片，请及时留言，谢谢一直以来的支持！！！！！！！！！！！</font>';
marqueeContent[1]='829影院祝大家2011年新年快乐！！！！！';
marqueeContent[2]='温馨提示：无法观看请安装 <a href="http://dl.qvod.com/QvodSetupPlus3.exe"><font color=red>Qvod播放器</font></a> 或者 <a href="http://down.getgvod.com/gvod/gvod(m829.com).exe"><font color=red>Gvod播放器</font></a>,看的人越多越流畅!';
marqueeContent[3]='<a href="http://www.m829.com/" target="_blank">本站Gvod迅播资源测试中,有什么问题请留言反馈我们!</a>';
marqueeContent[4]='<a href="http://www.m829.com/">本站影迷QQ群(开放ing...)</a>';
marqueeContent[5]='<A href="http://www.m829.com/gbook.html" target=_blank><FONT color=red>如有部分资源速度不理想,请与我们联系,我们会加速分流!</FONT></A>';
marqueeContent[6]='<a href="http://www.m829.com/"  target="_blank"><FONT color=red>感谢各界朋友对我们支持,我们一如既往为大家提供最优质的服务!</FONT></a>';
marqueeContent[7]='<A href="http://www.m829.com/gbook.html" target=_blank><FONT color="000000">如求片,请留言给我们,尽量附送有效的种子,以便我们能第一时间发布。</FONT></A>';

var marqueeInterval=new Array();
var marqueeId=0;
var marqueeDelay=10000;
var marqueeHeight=20;
function initMarquee() {
    var str=marqueeContent[0];
    document.write('<div id=marqueeBox style="overflow:hidden;height:'+marqueeHeight+'px" onmouseover="clearInterval(marqueeInterval[0])" onmouseout="marqueeInterval[0]=setInterval(\'startMarquee()\',marqueeDelay)"><div>'+str+'</div></div>');
    marqueeId++;
    marqueeInterval[0]=setInterval("startMarquee()",marqueeDelay);
    }
function startMarquee() {
    var str=marqueeContent[marqueeId];
        marqueeId++;
    if(marqueeId>=marqueeContent.length) marqueeId=0;
    if(marqueeBox.childNodes.length==1) {
        var nextLine=document.createElement('DIV');
        nextLine.innerHTML=str;
        marqueeBox.appendChild(nextLine);
        }
    else {
        marqueeBox.childNodes[0].innerHTML=str;
        marqueeBox.appendChild(marqueeBox.childNodes[0]);
        marqueeBox.scrollTop=0;
        }
    clearInterval(marqueeInterval[1]);
    marqueeInterval[1]=setInterval("scrollMarquee()",1);
    }
function scrollMarquee() {
    marqueeBox.scrollTop++;
    if(marqueeBox.scrollTop%marqueeHeight==(marqueeHeight-1)){
        clearInterval(marqueeInterval[1]);
        }
    }

initMarquee();


