$(document).ready(function(){

	$("a[rel^='prettyPhoto']").prettyPhoto({theme: "light_square",show_title: false});
	//box de mensagens
	 $('.message').append('<em class="closeable" title="clique para fechar"></em>');
		$('.closeable').live("click",function(){
			$(this).parent().hide("slow",function(){
				$('.closeable').parent().remove();
			});
	   });
	 
	 
	 // efeito no porfolio
		$(".portfolio .projeto img").hover(function(){
			$('.projeto img').not($(this)).stop().fadeTo('slow',0.3);
			},function(){
			$('.projeto img').stop().fadeTo('fast',1);
		});
		
		
		$('.upTo').live("click",function(){
			
			$('html, body').animate({scrollTop: $("#faixaTopo").offset().top}, 1000);
			return false;
		});
		
		
  
	   
	   
	   
	   
	   
	   
	   
	   
//fim document					   
});




