// Scroll // change this to where you store the blank.gif image var blank = "http://www.your-web-site-address-here.com/blank.gif"; topedge = 380; // location of news box from top of page leftedge = 10; // location of news box from left edge boxheight = 100; // height of news box boxwidth = 116; // width of news box scrollheight = 200; // total height of all data to be scrolled function scrollnews(cliptop) { if (document.layers) { newsDiv = document.news; newsDiv.clip.top = cliptop; newsDiv.clip.bottom = cliptop + boxheight; newsDiv.clip.left = 0; newsDiv.clip.right = boxwidth + leftedge; newsDiv.left = leftedge; newsDiv.top = topedge - cliptop; } else { newsDiv = news.style; newsDiv.clip = "rect(" + cliptop + "px " + (boxwidth + leftedge) + "px " + (cliptop + boxheight) + "px 0px)"; newsDiv.pixelLeft = leftedge; newsDiv.pixelTop = topedge - cliptop; } cliptop = (cliptop + 1) % (scrollheight + boxheight); newsDiv.visibility='visible'; setTimeout("scrollnews(" + cliptop + ")", 150); }