$(document).ready(function(){
	$("ul.thumb li").hover(function() {
		$(this).css({'z-index' : '10'});
		$(this).find('img').addClass("hover").stop()
			.animate({
				marginTop: '-110px',
				marginLeft: '-110px',
				top: '50%',
				left: '50%',
				width: '150px',
				height: '150px',
				padding: '20px'
			}, 200);

		} , function() {
		$(this).css({'z-index' : '0'});
		$(this).find('img').removeClass("hover").stop()
			.animate({
				marginTop: '0',
				marginLeft: '0',
				top: '0',
				left: '0',
				width: '100px',
				height: '100px',
				padding: '5px'
			}, 400);
	});

	$("#thumb1").hover(function() {
		$(this).css({'z-index' : '10'});
		$(this).find('img').addClass("hover").stop()
			.animate({
				marginTop: '-90px',
				marginLeft: '-150px',
				top: '50%',
				left: '50%',
				width: '250px',
				height: '235px',
				padding: '0px'
			}, 200);

		} , function() {
		$(this).css({'z-index' : '0'});
		$(this).find('img').removeClass("hover").stop()
			.animate({
				marginTop: '0',
				marginLeft: '0',
				top: '0',
				left: '0',
				width: '210px',
				height: '197px',
				padding: '5px'
			}, 400);
	});

	$("#thumb2").hover(function() {
		$(this).css({'z-index' : '10'});
		$(this).find('img').addClass("hover").stop()
			.animate({
				marginTop: '-80px',
				marginLeft: '-80px',
				top: '50%',
				left: '50%',
				width: '150px',
				height: '194px',
				padding: '0px'
			}, 200);

		} , function() {
		$(this).css({'z-index' : '0'});
		$(this).find('img').removeClass("hover").stop()
			.animate({
				marginTop: '0',
				marginLeft: '0',
				top: '0',
				left: '0',
				width: '119px',
				height: '154px',
				padding: '5px'
			}, 400);
	});

	$("#thumb3").hover(function() {
		$(this).css({'z-index' : '10'});
		$(this).find('img').addClass("hover").stop()
			.animate({
				marginTop: '-80px',
				marginLeft: '-100px',
				top: '50%',
				left: '50%',
				width: '200px',
				height: '205px',
				padding: '0px'
			}, 200);

		} , function() {
		$(this).css({'z-index' : '0'});
		$(this).find('img').removeClass("hover").stop()
			.animate({
				marginTop: '0',
				marginLeft: '0',
				top: '0',
				left: '0',
				width: '149px',
				height: '153px',
				padding: '5px'
			}, 400);
	});

	$("#thumb4").hover(function() {
		$(this).css({'z-index' : '10'});
		$(this).find('img').addClass("hover").stop()
			.animate({
				marginTop: '-60px',
				marginLeft: '-60px',
				top: '50%',
				left: '50%',
				width: '150px',
				height: '138px',
				padding: '0px'
			}, 200);

		} , function() {
		$(this).css({'z-index' : '0'});
		$(this).find('img').removeClass("hover").stop()
			.animate({
				marginTop: '0',
				marginLeft: '0',
				top: '0',
				left: '0',
				width: '129px',
				height: '119px',
				padding: '5px'
			}, 400);
	});
});
