timerID = null;
        
function ScrollUp1(speed){
    if(document.getElementById){
        if(parseInt(txt.style.top) < 0)
        txt.style.top = parseInt(txt.style.top) + speed + "px";
        timerID = setTimeout("ScrollUp1("+speed+")",30)
    }
}

function ScrollDown1(speed){
    if(document.getElementById){                        
        if(parseInt(txt.style.top) > cnt.offsetHeight - txt.offsetHeight) 
        txt.style.top = parseInt(txt.style.top) - speed + "px";
        timerID = setTimeout("ScrollDown1("+speed+")",30)
    }
}

function ScrollStop(){
    if(document.getElementById){
        clearTimeout(timerID);
    }
}

function ScrollInit() {
    if (document.getElementById) {
        cnt = document.getElementById("cont2");
        txt = document.getElementById("text2");
        txt.style.top = 0;
    }
}

onload=ScrollInit;
