﻿// JScript File

function Agranda() 
{ 
var tma; 
var obj =  document.getElementById("cuerpo");
tma = parseInt(obj.style.fontSize);
/*alert(obj + ' ' + tma);*/
if (tma > 20)
	{alert ("No se puede Agrandar más la letra");}
else
    {obj.style.fontSize = tma + 3;} 
} 

function Achica() 
{ 
var tma; 
var obj =  document.getElementById("cuerpo");
tma = parseInt(obj.style.fontSize);
if (tma < 11)
	{alert ("No se puede Achicar más la letra");}
else
    {obj.style.fontSize = tma - 3;} 
} 