var pos, yi, t, d;

function scrolling() {

  d = document.getElementById("into").style;

		//d2 = document.getElementById("cont").style;

	rasmer = 150;

	yi = parseInt(d.top);  

	d.top = --yi+"px";



	if ( (yi/rasmer)-Math.floor(yi/rasmer)== 0) 

	{ 

	clearInterval(t);

	n = setInterval("time2()", 4000);

	}



	if ( yi + (rasmer*5) < 2 ) 

	{ d.top  = parseInt(document.getElementById("cont").style.height)-1;}

}



function time() {
	t = setInterval("scrolling()", 20);
}



function time2() { 
	clearInterval(n);
	t = setInterval("scrolling()", 20);
}

