var $j = jQuery.noConflict();

$j(function() {

	$j("a[rel^='gallery']").prettyPhoto();

	$j('#Galeria img').load(function() {
		$j(this).parents('li').addClass('esconde_fundo');
		$j(this).toggle().animate({opacity : 0}, 0).animate({opacity : 0.5}, 500);
	});
	
	$j('#Galeria a').hoverIntent(function() {
		$j(this).children('img').animate({opacity : 1}, 'fast');
	}, function() {	
		$j(this).children('img').animate({opacity : 0.5}, 'fast');
	});
	
	$j('img').bind('contextmenu', function(e) {
		e.preventDefault();
		alert('I \'m sorry, copy of this content is disabled!')
	});
});