﻿
var banZoom = null 

function creceLetra() 
{ 
var obj = banZoom 
var tma 
tma = parseInt(obj.style.fontSize) 
window.status = obj.style.fontSize 
if (tma<obj.maxTam) 
    { 
    obj.style.fontSize = tma + 1 
    setTimeout("creceLetra("+obj.maxTam+")",60) /*Indica la velocidad*/
    }     
tma = 20
} 

function resetear(mn, mx, rapidez, idBan) 
{ 
if (banZoom == null) 
    { 
    banZoom = document.getElementById(idBan) 
    banZoom.maxTam = mx 
    banZoom.minTam = mn 
    banZoom.rapidez = rapidez 
    } 
banZoom.style.fontSize = banZoom.minTam 
setTimeout("creceLetra()",rapidez) 
} 
