$("#item0 img").hover(function() {
    $(this).attr('src', 'imgs/item_home2.gif');
}, function() {
    $(this).attr('src', 'imgs/item_home1.gif');
});
$("#item1 img").hover(function() {
    $(this).attr('src', 'imgs/item_villas2.gif');
}, function() {
    $(this).attr('src', 'imgs/item_villas1.gif');
});
$("#item2 img").hover(function() {
    $(this).attr('src', 'imgs/item_galeria2.gif');
}, function() {
    $(this).attr('src', 'imgs/item_galeria1.gif');
});
$("#item3 img").hover(function() {
    $(this).attr('src', 'imgs/item_marcacao2.gif');
}, function() {
    $(this).attr('src', 'imgs/item_marcacao1.gif');
});
$("#item4 img").hover(function() {
    $(this).attr('src', 'imgs/item_localizacao2.gif');
}, function() {
    $(this).attr('src', 'imgs/item_localizacao1.gif');
});
$("#item5 img").hover(function() {
    $(this).attr('src', 'imgs/item_contactos2.gif');
}, function() {
    $(this).attr('src', 'imgs/item_contactos1.gif');
});
$("#cta1 img").hover(function() {
    $(this).attr('src', 'imgs/cta_localizacao2.png');
}, function() {
    $(this).attr('src', 'imgs/cta_localizacao1.png');
});
$("#cta2 img").hover(function() {
    $(this).attr('src', 'imgs/cta_visita2.png');
}, function() {
    $(this).attr('src', 'imgs/cta_visita1.png');
});

/****** NIVO Slider Animação Left ******/
$(window).load(function() {
	$('#slider').nivoSlider({
		effect:'fade',
		slices:15,
		animSpeed:1000,
		pauseTime:14000,
		directionNav:false, //Next & Prev
		directionNavHide:true, //Only show on hover
		controlNav:false, //1,2,3...
		pauseOnHover:false, //Stop animation while hovering
		manualAdvance:false, //Force manual transitions
		beforeChange: function(){},
		afterChange: function(){}
	});
});

/*** animação página principal Right handle *****/

$(window).load(function() {
	$('#slider2').nivoSlider({
		effect:'fold',
		slices:15,
		animSpeed:800,
		pauseTime:4000,
		directionNav:false, //Next & Prev
		directionNavHide:true, //Only show on hover
		controlNav:false, //1,2,3...
		pauseOnHover:false, //Stop animation while hovering
		manualAdvance:false, //Force manual transitions
		beforeChange: function(){},
		afterChange: function(){}
	});
});

/*** animação página produtos - cozinhas *****/

$(window).load(function() {
	$('#slider-cozinhas').nivoSlider({
		effect:'fold',
		slices:15,
		animSpeed:800,
		pauseTime:4000,
		directionNav:false, //Next & Prev
		directionNavHide:true, //Only show on hover
		controlNav:false, //1,2,3...
		pauseOnHover:false, //Stop animation while hovering
		manualAdvance:false, //Force manual transitions
		beforeChange: function(){},
		afterChange: function(){}
	});
});



