var timer1var 
var tvar 
var ttvar 
vv=0
function init(){
	t=-50
	tt=25
	vv++
	timer1 = setInterval('scroll()', 100)
}
var a = new Array()
a[0] = 'text'
a[1] = 'text1'
a[2] = 'text2'
a[3] = 'text3'
var cdiv = a[0]
function scroll(){	
t+=2	
tt+=2
if(tt<6*10+50){
document.getElementById(cdiv).style.display = 'block'
document.getElementById(cdiv).style.clip = 'rect(' + t +'px 400px '+ tt + 'px 0px)'
document.getElementById(cdiv).style.top= 10-t + 'px'}
	if(tt>25*10+50){
		clearInterval(timer1)
		document.getElementById(cdiv).style.display = 'none'
		if(Math.round(vv%4) == 1){cdiv = a[1]}
		if(Math.round(vv%4) == 2){cdiv = a[2]}
		if(Math.round(vv%4) == 3){cdiv = a[3]}
		if(Math.round(vv%4) == 0){cdiv = a[0]}
		init()
	}
}