function mudaFonte(id) {
	var texto = document.getElementById(id);
	if(texto)
	    texto = texto.style
	else
	    return false;

	var tamanho = 1;
	var espaco = 1.12;
	var tamanhoMaximo = 1.64;
	var tamanhoMinimo = .74;

	texto.fontSize = tamanho+"em";
	texto.lineHeight = espaco+"em";

	this.setDiv = function(id) {
		texto = document.getElementById(id).style;
	}
	this.setFonte = function(tamFonte, espacoFonte) {
		tamanho = tamFonte;
		espaco = espacoFonte;
		texto.fontSize = tamFonte+"em";
		texto.lineHeight = espacoFonte+"em";
	}
	this.setMaximo = function(maximo) {
		tamanhoMaximo = maximo;
	}
	this.setMinimo = function(minimo) {
		tamanhoMinimo = minimo;
	}
	this.aumenta = function() {
		if (tamanho < tamanhoMaximo) {
			tamanho += .06;
			texto.fontSize = tamanho+"em";
			espaco += .06;
			texto.lineHeight = espaco+"em";
		}
	}
	this.diminui = function() {
		if (tamanho > tamanhoMinimo) {
			tamanho -= .06;
			texto.fontSize = tamanho+"em";
			espaco -= .06;
			texto.lineHeight = espaco+"em";
		}
	}
}
