var scrollToggle=true;
topedge = 208;
if ((screen.width == 800) && (screen.height == 600))
 {
       leftedge =30;
}
else if ((screen.width == 1024) && (screen.height == 768))
{
        leftedge =43;
}
else if ((screen.width == 640) && (screen.height == 480))
{
         leftedge =30;
}
        boxheight =365;
        boxwidth =360;
        scrollheight = 580;
         function setToggle(blnVal)
        {
        scrollToggle = blnVal;
        }
function scrollnews(cliptop)
{       if (document.layers) {
        newsDiv = document.layers['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;
        }
        if(scrollToggle==true)
        {
        cliptop = (cliptop + 1) % (scrollheight + boxheight);
        newsDiv.visibility='visible';
        }
        setTimeout("scrollnews(" + cliptop + ")", 8);
}

