/**
 * @author Jose Orlando Sousa (joseorlandosousa@gmail.com)
 */
	$(document).ready(function() {
		
	$(function() {
		$.pir.options.php="http://keynote.com.br/pir.php";
			$("h2").pir({font: "harabara.ttf", size: "20px"});
			$(".subtit").pir({font: "harabara.ttf", size: "16px"});
			$(".sub2").pir({font: "harabara.ttf", size: "16px"});
			$(".sub3").pir({font: "harabara.ttf", size: "16px"});
	});
	
	$(function() {
		$("#c a img").hover(function() { //On hover...
			//Animate the image to 0 opacity (fade it out)
			$(this).stop().animate({opacity: 0.5}, 300);
		} , function() { //on hover out...
			//Animate the image back to 100% opacity (fade it back in)
			$(this).stop().animate({opacity: 1}, 300);
		});
		});
	
	
	  //$('#menu li a').hover(function() {
      //  $(this).animate({ paddingTop: '30px' }, 300);
      //}, function() {
      //  $(this).animate({ paddingTop: '15px' }, 300);
      //});
	
	
	});



function Fonte(Classe, TIPO){
	
	var tamanho = $('.'+Classe).css("fontSize");
	var TamanhoAtual = new Number(tamanho.replace(/px/, ""));
	var menos =TamanhoAtual-1;
	var mais =TamanhoAtual+1;
	
	if(TIPO == "menor"){
		$('.'+Classe).css({ fontSize:menos});
	}
	if(TIPO == "normal"){
		$('.'+Classe).css({ fontSize:"12px"});
	}
	if(TIPO == "maior"){
		$('.'+Classe).css({ fontSize:mais});
	}
}
