document.write("<style type=\"text/css\">#marqueeBox{line-height:20px;}#marqueeBox a{text-decoration:none;color:#ffffff}#marqueeBox a:hover{text-decoration:underline}</style><script type=\"text/javascript\">var marqueeContent=new Array();marqueeContent[0] = \"<a href='http://www.hko.gov.hk/wxinfo/currwx/currentc.htm'  target='_blank'>現時氣溫 27 度, 最高 28 度, 最低 23 度, 紫外線指數  (), 相對濕度 81  %</a><br />\";marqueeContent[1] = \"港聞&nbsp;&nbsp;<a href='http://hk.news.yahoo.com/article/100722/4/jamk.html' target='_blank'>新界北部水浸特別報告 (Fri, 10 Sep 2010 02:49:05)</a><br />\";marqueeContent[2] = \"港聞&nbsp;&nbsp;<a href='http://hk.news.yahoo.com/article/100909/18/k4wy.html' target='_blank'>警方青衣拘一人檢六萬多元毒品 (Fri, 10 Sep 2010 02:18:06)</a><br />\";marqueeContent[3] = \"港聞&nbsp;&nbsp;<a href='http://hk.news.yahoo.com/article/100909/18/k4wv.html' target='_blank'>北角小貓被夾在石躉間消防到場救出 (Fri, 10 Sep 2010 01:50:06)</a><br />\";marqueeContent[4] = \"港聞&nbsp;&nbsp;<a href='http://hk.news.yahoo.com/article/100909/18/k4wu.html' target='_blank'>土瓜灣火警五十人疏散無人傷 (Fri, 10 Sep 2010 01:43:05)</a><br />\";marqueeContent[5] = \"港聞&nbsp;&nbsp;<a href='http://hk.news.yahoo.com/article/100909/18/k4wq.html' target='_blank'>雷暴警告延長至凌晨3時15分 (Fri, 10 Sep 2010 01:09:06)</a><br />\";marqueeContent[6] = \"港聞&nbsp;&nbsp;<a href='http://hk.news.yahoo.com/article/100909/4/k4wj.html' target='_blank'>當局設法移走吊臂車 (Thu, 09 Sep 2010 23:55:06)</a><br />\";marqueeContent[7] = \"港聞&nbsp;&nbsp;<a href='http://hk.news.yahoo.com/article/100909/4/k4ux.html' target='_blank'>屯門吊臂擊中輕鐵18傷 (Thu, 09 Sep 2010 23:55:06)</a><br />\";marqueeContent[8] = \"港聞&nbsp;&nbsp;<a href='http://hk.news.yahoo.com/article/080728/3/7eh6.html' target='_blank'>雷暴警告生效 (Thu, 09 Sep 2010 23:13:06)</a><br />\";marqueeContent[9] = \"港聞&nbsp;&nbsp;<a href='http://hk.news.yahoo.com/article/100909/18/k4w9.html' target='_blank'>遇害人質梁錦榮三父女下周六舉殯遺體火化 (Thu, 09 Sep 2010 22:51:06)</a><br />\";marqueeContent[10] = \"港聞&nbsp;&nbsp;<a href='http://hk.news.yahoo.com/article/100909/18/k4w8.html' target='_blank'>屯門吊臂壓中輕鐵翻側吊臂車仍未移走 (Thu, 09 Sep 2010 22:49:06)</a><br />\";</script>");
var marqueeInterval=new Array();
var marqueeId=0;
var marqueeDelay=2000;
var marqueeHeight=20;
function initMarquee() {
    var str=marqueeContent[0];
    document.write('<div id="marqueeBox" style="overflow:hidden;width:auto;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(document.getElementById("marqueeBox").childNodes.length==1) {
    var nextLine=document.createElement('DIV');
    nextLine.innerHTML=str;
    document.getElementById("marqueeBox").appendChild(nextLine);
    }
    else {
        document.getElementById("marqueeBox").childNodes[0].innerHTML=str;
        document.getElementById("marqueeBox").appendChild(document.getElementById("marqueeBox").childNodes[0]);
        document.getElementById("marqueeBox").scrollTop=0;
    }
    clearInterval(marqueeInterval[1]);
    marqueeInterval[1]=setInterval("scrollMarquee()",20);
}
function scrollMarquee() {
    document.getElementById("marqueeBox").scrollTop++;
    if(document.getElementById("marqueeBox").scrollTop%marqueeHeight==(marqueeHeight-1)){
    clearInterval(marqueeInterval[1]);
    }
}
initMarquee();
