﻿var notice=document.getElementById("roll");function scrollNews(){if(notice&&notice.childNodes.length>0){notice.appendChild(notice.firstChild)}}var speed=3000;var sTimer=setInterval(scrollNews,speed);if(notice){notice.onmouseover=function(){clearInterval(sTimer)};notice.onmouseout=function(){sTimer=setInterval(scrollNews,speed)}}function doZoom(a){document.getElementById("content").style.fontSize=a+"px"}var currentpos,timer;function initialize(){timer=setInterval("scrollwindow()",10)}function sc(){clearInterval(timer)}function scrollwindow(){window.scrollBy(0,1)}document.onmousedown=sc;document.ondblclick=initialize;