function initialize(speed){
	if (window.parent.scrollspeed!=0){
	speed=window.parent.scrollspeed
	scrollwindow(speed)
	}
}

function scrollwindow(speed){
	window.scrollBy(0,speed)
}

function Scroll(){
	setInterval("initialize(0)",10)
}


function scrolldiv(divn) {
    var div = document.getElementById(divn);
	if (div.scrollTop>=0)
		div.scrollTop+=scrollspeed; 
}

function divScroll(divn) {
	setInterval("scrolldiv('"+divn+"')",10);
}


var scrollspeed=0;

function divSinit(divn) {
     var div = document.getElementById(divn);
	 div.scrollTop=0;
	 divScroll('seccion_dentro');
	 

}