<!--
//FUNCION PARA HACER SCROLL EN EL I_FRAME
var init, l,w, inih, inicroptop,inicropinf, paso, valor, limittop, wait;
interruptor = 0;
limittop = 825;
paso = 0;
inicroptop = 0;
inih = parseInt(document.getElementById("ctexto").style.height);
init = parseInt(document.getElementById("ctexto").style.top);
//---- wait ES LA VARIABLE PARA EL SETTIMEOUT QUE MUEVE EL SCROLL
wait = 150;
function scroll(sentido, dir){
this.sentido = sentido;
this.dir = dir;
switch (sentido){
	case 1:
	valor = 40;
	if(paso<limittop){
		paso+= valor;
		document.getElementById("ctexto").style.height = inih + paso + "px";
		document.getElementById("ctexto").style.top =  init - paso + "px" ;
		eval('document.getElementById("ctexto").style.clip="rect(' + (inicroptop+paso + "px") + ',360px,' +( inih+paso+ "px") + ',0px)"');
		}
		break;
	case 2:
	valor = -40;
	y = parseInt(document.getElementById("ctexto").style.height);
	if(y>inih){
		paso+= valor;
		document.getElementById("ctexto").style.height = inih + paso + "px";
		document.getElementById("ctexto").style.top = init - paso  + "px";
		eval('document.getElementById("ctexto").style.clip="rect(' + (inicroptop+paso+ "px") + ',360px,' +( inih+paso+ "px") + ',0px)"');
		}	
		break;
	}
	
	
	
	switch(dir){
		case 1:
			timeout = window.setTimeout("scroll(1,1)", wait);
			//window.status = "Arriba";
			break;
		case 2:
			timeout = window.setTimeout("scroll(2,2)", wait);
			//window.status = "Abajo";
			break;
		case 0: 
			window.clearTimeout(timeout);
			//window.status = "Limpiar";
			break;
		}	
}
function volver(){
window.history.back();
}
//&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
//&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
// -->

