timerID = null;
        
function ScrollUp1(speed){
    	if(document.getElementById){
        	if(parseInt(txt1.style.top) < 0){
        		txt1.style.top = parseInt(txt1.style.top) + speed + "px";
		}
        	timerID = setTimeout("ScrollUp1("+speed+")",30)
    	}
}

function ScrollDown1(speed){
    	if(document.getElementById){                        
        	if(parseInt(txt1.style.top) > cnt1.offsetHeight - txt1.offsetHeight){ 
        		txt1.style.top = parseInt(txt1.style.top) - speed + "px";
		}
        	timerID = setTimeout("ScrollDown1("+speed+")",30)
    	}
}

function ScrollStop1(){
    	if(document.getElementById){
        	clearTimeout(timerID);
    	}
}

function ScrollInit1() {
   	if (document.getElementById) {
        	cnt1 = document.getElementById("cont1");
        	txt1 = document.getElementById("text1");
        	txt1.style.top = 0;
    	}
}