var hits = 5;
function fontSize(action, container){
container = typeof(container) != 'undefined' ? container : 'div#textos'; //se não for especificado um container será ‘div.texto’
var hitIncrease = 0;
var hitDecrease = 0;

var pegaTodos = {pega : function(maiorDeTodos){
var filho;

	jQuery(maiorDeTodos).children().each(function(i){
	filho = jQuery(this);
	
	jQueryfs = parseInt(jQuery(filho).css('font-size'));
	if (action == 'less' && hits > 0) {
		jQueryfs -= 1;
		hitDecrease = 1;
	}
	if (action == 'more' && hits < 10) {
		jQueryfs += 1;
		hitIncrease = 1;
	}
	jQuery(filho).css('font-size', jQueryfs);
	
	if (jQuery(filho).children().length != 0) {
	pegaTodos.pega(jQuery(filho));
	}
	});
}};

pegaTodos.pega(jQuery(container));

if (hitIncrease == 1)hits+=1;
else if (hitDecrease == 1)hits-=1;
}

jQuery(function(){
	jQuery('.diminuir').click(function(){ fontSize('less') }).blur();
	jQuery('.aumentar').click(function(){ fontSize('more') }).blur();
})