
// change this to where you store the blank.gif image
//var blank = "http://www.your-web-site-address-here.com/blank.gif";

if ((screen.width == 800) && (screen.height == 600))
{
	topedge = 190;  // location of news box from top of page
	leftedge = 610;  // location of news box from left edge
}	
else if ((screen.width == 1024) && (screen.height == 768))
{
	topedge = 190;  // location of news box from top of page
	leftedge = 715;  // location of news box from left edge
}
boxheight = 190;  // height of news box
boxwidth = 130;  // width of news box
scrollheight = 30; // 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 + ")", 80);
}
