$(document).ready(function(){

//Page Flip on hover

$("#barato").hover(function() {
		$("#barato img , .msg_block").stop()
			.animate({
				width: '50px', 
				height: '50px'
			}, 350); 
		} , function() {
		$("#barato img").stop() 
			.animate({
				width: '0px', 
				height: '0px'
			}, 350);
		$(".msg_block").stop() 
		.animate({
			width: '0px', 
			height: '0px'
		}, 350);
});
$("#legal").hover(function() { //On hover...
		$("#legal img , .msg_block2").stop()
			.animate({ // Animacion de nuestro div (Width + height)
				width: '50px',
				height: '50px'
			}, 350);
		} , function() {
		$("#legal img").stop() //Al estar fuera volvemos a nuestro tama�o original 0x0
			.animate({
				width: '0px',
				height: '0px'
			}, 350);
		$(".msg_block2").stop() //Al estar fuera volvemos a nuestro tama�o original 0x0
		.animate({
			width: '0px',
			height: '0px'
		}, 350);
});
$("#experiencia").hover(function() { //On hover...
		$("#experiencia img , .msg_block3").stop()
			.animate({ // Animacion de nuestro div (Width + height)
				width: '50px',
				height: '50px'
			}, 350);
		} , function() {
		$("#experiencia img").stop() //Al estar fuera volvemos a nuestro tama�o original 0x0
			.animate({
				width: '0px',
				height: '0px'
			}, 350);
		$(".msg_block3").stop() //Al estar fuera volvemos a nuestro tama�o original 0x0
		.animate({
			width: '0px',
			height: '0px'
		}, 350);
		});


$("#resident_evil").hover(function() { //On hover...
		$("#resident_evil img , .msg_blockr").stop()
			.animate({ // Animacion de nuestro div (Width + height)
				width: '50px',
				height: '50px'
			}, 350);
		} , function() {
		$("#resident_evil img").stop() //Al estar fuera volvemos a nuestro tama�o original 0x0
			.animate({
				width: '0px',
				height: '0px'
			}, 350);
		$(".msg_blockr").stop() //Al estar fuera volvemos a nuestro tama�o original 0x0
		.animate({
			width: '0px',
			height: '0px'
		}, 350);
		});
		
		
$("#oferta_quince").hover(function() { //On hover...
		$("#oferta_quince img , .msg_block4").stop()
			.animate({ // Animacion de nuestro div (Width + height)
				width: '50px',
				height: '50px'
			}, 350);
		} , function() {
		$("#oferta_quince img").stop() //Al estar fuera volvemos a nuestro tama�o original 0x0
			.animate({
				width: '0px',
				height: '0px'
			}, 350);
		$(".msg_block4").stop() //Al estar fuera volvemos a nuestro tama�o original 0x0
		.animate({
			width: '0px',
			height: '0px'
		}, 350);
		});	
		
		
	
$("#oferta_bebes").hover(function() { //On hover...
		$("#oferta_bebes img , .msg_block5").stop()
			.animate({ // Animacion de nuestro div (Width + height)
				width: '50px',
				height: '50px'
			}, 350);
		} , function() {
		$("#oferta_bebes img").stop() //Al estar fuera volvemos a nuestro tama�o original 0x0
			.animate({
				width: '0px',
				height: '0px'
			}, 350);
		$(".msg_block5").stop() //Al estar fuera volvemos a nuestro tama�o original 0x0
		.animate({
			width: '0px',
			height: '0px'
		}, 350);
		});		
		
		
$("#oferta_salud_dental").hover(function() { //On hover...
		$("#oferta_salud_dental img , .msg_block6").stop()
			.animate({ // Animacion de nuestro div (Width + height)
				width: '50px',
				height: '50px'
			}, 350);
		} , function() {
		$("#oferta_salud_dental img").stop() //Al estar fuera volvemos a nuestro tama�o original 0x0
			.animate({
				width: '0px',
				height: '0px'
			}, 350);
		$(".msg_block6").stop() //Al estar fuera volvemos a nuestro tama�o original 0x0
		.animate({
			width: '0px',
			height: '0px'
		}, 350);
		});			
		
$("#oferta_cascanueces").hover(function() { //On hover...
		$("#oferta_cascanueces img , .msg_block7").stop()
			.animate({ // Animacion de nuestro div (Width + height)
				width: '50px',
				height: '50px'
			}, 350);
		} , function() {
		$("#oferta_cascanueces img").stop() //Al estar fuera volvemos a nuestro tama�o original 0x0
			.animate({
				width: '0px',
				height: '0px'
			}, 350);
		$(".msg_block7").stop() //Al estar fuera volvemos a nuestro tama�o original 0x0
		.animate({
			width: '0px',
			height: '0px'
		}, 350);
		});			
			


});
