$(document).ready(function() 
{
	//Define o deslocamento da imagem
	var move = -15;
	
	//Define zoom de 120%
	var zoom = 1.2;

	//Mouse over no thumbnail
	$('.item').hover(function() 
	{
		//Define as larguras e alturas dos efeitos
		LarguraSemZoom = $(this).find('img').width();
		AlturaSemZoom = $(this).find('img').height();
		
		LarguraComZoom = $(this).find('img').width() * zoom;
		AlturaComZoom = $(this).find('img').height() * zoom;
		
		//Move e Zoom na imagem
		$(this).find('img').stop(false,true).animate({'width':LarguraComZoom, 'height':AlturaComZoom, 'top':move, 'left':move}, {duration:200});
		
		//Mostra o filtro preto
		$(this).find('div.caption').stop(false,true).fadeIn(200);
	},
	//Mouse out no thumbnail
	function() 
	{
		//Volta para a posicao inicial
		$(this).find('img').stop(false,true).animate({'width':LarguraSemZoom, 'height':AlturaSemZoom, 'top':'0', 'left':'0'}, {duration:100});

		//Esconde o filtro preto
		$(this).find('div.caption').stop(false,true).fadeOut(200);
	});

});