var i = 0;
var speed = 1;
var iHeight = 0;
var nHeight;
var iTop = 250;
var interval;

window.onload=function()
{
    if(!document.getElementById || !document.createTextNode){return;}
	nHeight = document.getElementById("Scroller").offsetHeight;
    interval = setInterval("scroll()",30);
}
	
function StartScroll()
{
    nHeight = document.getElementById("Scroller").offsetHeight;
    interval = setInterval("scroll()",30);
}
function StopScroll()
{
    clearInterval(interval);
}
function ReStartScroll()
{
    interval = setInterval("scroll()",30);
}
function scroll() 
{
    if(iHeight > 250 + nHeight)
    {
        iTop = 250;
        iHeight = 0;
    }
    iTop = iTop - speed;
    document.getElementById("Scroller").style.top = iTop+"px";
    iHeight = iHeight + speed;
    document.getElementById("Scroller").style.height = iHeight+"px";
}
