// JavaScript Document

function zoomText(tipo){
	//inicializaciones
	obj=document.getElementById("texto");
	if (obj.style.fontSize==""){
		obj.style.fontSize="100%";
	}
	actual=parseInt(obj.style.fontSize);
	incremento=20;
	
	//operacion
	if(tipo=="normal"){
		obj.style.fontSize="100%"
	}
	if(tipo=="aumentar"){
		valor=actual+incremento;
		obj.style.fontSize=valor+"%"
	}
	if(tipo=="disminuir"){
		valor=actual-incremento;
		obj.style.fontSize=valor+"%"
	}
}
