// JavaScript Document
//Dar o id do layer e se quer aumentar ou diminuir a fonte.
		var tagAlvo = new Array('p'); //pega todas as tags p//
		var tagStrong = new Array('strong'); //pega todas as tags strong//
		var tagDiv = new Array('div'); //pega todas as tags div//
		var tagSpan = new Array('span'); //pega todas as tags span//

		function mudaFonte(id, incremento)	{
			if (!document.getElementById) return
			
			var alvo = null,tamanho,i,j,tagsAlvo,ValorAtual,valor;
			
			if ( !( alvo = document.getElementById( id ) ) ) 
				alvo = document.getElementsByTagName( id )[ 0 ];

			ValorAtual = alvo.style.fontSize;
			valor = parseInt(ValorAtual.replace("pt", ""), 10);

			valor += incremento;
			
			tamanho = valor + 'pt';
			
			alvo.style.fontSize = tamanho;
			
			for ( i = 0; i < tagAlvo.length; i++ ){
				tagsAlvo = alvo.getElementsByTagName( tagAlvo[ i ] );
				for ( j = 0; j < tagsAlvo.length; j++ ) tagsAlvo[ j ].style.fontSize = tamanho;
			}
			
			for ( i = 0; i < tagStrong.length; i++ ){
				tagsAlvo = alvo.getElementsByTagName( tagStrong[ i ] );
				for ( j = 0; j < tagsAlvo.length; j++ ) tagsAlvo[ j ].style.fontSize = tamanho;
			}
			
			for ( i = 0; i < tagDiv.length; i++ ){
				tagsAlvo = alvo.getElementsByTagName( tagDiv[ i ] );
				for ( j = 0; j < tagsAlvo.length; j++ ) tagsAlvo[ j ].style.fontSize = tamanho;
			}
			
		}
		