// JavaScript Document
 // Início do código de Aumentar/ Diminuir a letra   
 // Para usar coloque o comando: "javascript:mudaTamanho('tag_ou_id_alvo', -1);" para diminuir 
 // e o comando "javascript:mudaTamanho('tag_ou_id_alvo', +1);" para aumentar   var tagAlvo = new Array('p'); 
 //pega todas as tags p//   
 // Especificando os possíveis tamanhos de fontes, poderia ser: x-small, small... 
 var tagAlvo = new Array('p','h2'); //pega todas as tags p//

 var tamanhos = new Array('11px','12px','13px','14px','15px' ); 
 var tamanhoInicial = 2;   
 function mudaTamanho( idAlvo,acao ){   
 if (!document.getElementById) return
 var selecionados = null,
 	tamanho = tamanhoInicial,i,j,tagsAlvo; 
	tamanho += acao; 
	if ( tamanho < 0 ) tamanho = 0;
	if ( tamanho > 6 ) tamanho = 6;
	tamanhoInicial = tamanho; 
	if ( !( selecionados = document.getElementById( idAlvo ) ) ) 
	selecionados = document.getElementsByTagName( idAlvo )[ 0 ];
	selecionados.style.fontSize = tamanhos[ tamanho ];
	for ( i = 0; i < tagAlvo.length; i++ ){ 
	tagsAlvo = selecionados.getElementsByTagName( tagAlvo[ i ] );
	for ( j = 0; j < tagsAlvo.length; j++ ) tagsAlvo[ j ].style.fontSize = tamanhos[ tamanho ];   } } 
	// Fim do código de Aumentar/ Diminuir a letra  





$(function() {
		//callback function to bring a hidden box back
		function callback() {
			setTimeout(function() {
			
			if ($(".effect").css('display') == 'block') {
			   $(".effect").hide('blind');
					} else {
					   $(".effect").show('blind');
					}
			}, 500 );
		};
 
		// set effect from select menu value
		$( ".button" ).click(function() {
			callback();
			return false;
		});
 
		$( ".effect" ).hide();
	});


$(function() {
		//callback function to bring a hidden box back
		function callback1() {
			setTimeout(function() {
			
			if ($(".effect1").css('display') == 'block') {
			   $(".effect1").hide('blind');
					} else {
					   $(".effect1").show('blind');
						
					}
				
			}, 500 );
	};
 
		// set effect from select menu value
		$( ".button1" ).click(function() {
			callback1();
			return false;
			
		});
 
		$( ".effect1" ).hide();
	});


$(function() {
		//callback function to bring a hidden box back
		function callback2() {
			setTimeout(function() {
			
			if ($(".effect2").css('display') == 'block') {
			   $(".effect2").hide('blind');
					} else {
					   $(".effect2").show('blind');
					}
				
			}, 500 );
		};
 
		// set effect from select menu value
		$( ".button2" ).click(function() {
			callback2();
			return false;
			
		});
 
		$( ".effect2" ).hide();
	});
	
	
$(function() {
		//callback function to bring a hidden box back
		function callback3() {
			setTimeout(function() {
			
			if ($(".effect3").css('display') == 'block') {
			   $(".effect3").hide('blind');
					} else {
					   $(".effect3").show('blind');
					}
				
			}, 500 );
		};
 
		// set effect from select menu value
		$( ".button3" ).click(function() {
			callback3();
			return false;
			
		});
 
		$( ".effect3" ).hide();
	});


$(function() {
		//callback function to bring a hidden box back
		function callback4() {
			setTimeout(function() {
			
			if ($(".effect4").css('display') == 'block') {
			   $(".effect4").hide('blind');
					} else {
					   $(".effect4").show('blind');
					}
				
			}, 500 );
		};
 
		// set effect from select menu value
		$( ".button4" ).click(function() {
			callback4();
			return false;
			
		});
 
		$( ".effect4" ).hide();
	});
	
	
	$(function() {
		//callback function to bring a hidden box back
		function callback5() {
			setTimeout(function() {
			
			if ($(".effect5").css('display') == 'block') {
			   $(".effect5").hide('blind');
					} else {
					   $(".effect5").show('blind');
					}
				
			}, 500 );
		};
 
		// set effect from select menu value
		$( ".button5" ).click(function() {
			callback5();
			return false;
			
		});
 
		$( ".effect5" ).hide();
	});
	
	$(function() {
		//callback function to bring a hidden box back
		function callback6() {
			setTimeout(function() {
			
			if ($(".effect6").css('display') == 'block') {
			   $(".effect6").hide('blind');
					} else {
					   $(".effect6").show('blind');
					}
				
			}, 500 );
		};
 
		// set effect from select menu value
		$( ".button6" ).click(function() {
			callback6();
			return false;
			
		});
 
		$( ".effect6" ).hide();
	});
		
	$(function() {
		//callback function to bring a hidden box back
		function callback7() {
			setTimeout(function() {
			
			if ($(".effect7").css('display') == 'block') {
			   $(".effect7").hide('blind');
					} else {
					   $(".effect7").show('blind');
					}
				
			}, 500 );
		};
 
		// set effect from select menu value
		$( ".button7" ).click(function() {
			callback7();
			return false;
			
		});
 
		$( ".effect7" ).hide();
	});
		
	$(function() {
		//callback function to bring a hidden box back
		function callback8() {
			setTimeout(function() {
			
			if ($(".effect8").css('display') == 'block') {
			   $(".effect8").hide('blind');
					} else {
					   $(".effect8").show('blind');
					}
				
			}, 500 );
		};
 
		// set effect from select menu value
		$( ".button8" ).click(function() {
			callback8();
			return false;
			
		});
 
		$( ".effect8" ).hide();
	});
		
	$(function() {
		//callback function to bring a hidden box back
		function callback9() {
			setTimeout(function() {
			
			if ($(".effect9").css('display') == 'block') {
			   $(".effect9").hide('blind');
					} else {
					   $(".effect9").show('blind');
					}
				
			}, 500 );
		};
 
		// set effect from select menu value
		$( ".button9" ).click(function() {
			callback9();
			return false;
			
		});
 
		$( ".effect9" ).hide();
	});
		
	$(function() {
		//callback function to bring a hidden box back
		function callback10() {
		setTimeout(function() {
			
			if ($(".effect10").css('display') == 'block') {
			   $(".effect10").hide('blind');
					} else {
					   $(".effect10").show('blind');
					}
				
			}, 500 );
		};
 
		// set effect from select menu value
		$( ".button10" ).click(function() {
			callback10();
			return false;
			
		});
 
		$( ".effect10" ).hide();
	});


