﻿jQuery(document).ready(function ($) {
$(".fade").find('img, canvas').hide()
.fadeIn(5000);

});
jQuery(document).ready(function ($) {
	$("#menu li").hoverIntent({
		sensitivity: 5,
		interval: 200,
		over: makeTall,
		timeout: 300,
		out: makeShort
	});
});
function makeTall() {
	jQuery(this).addClass("sfhover");
}
function makeShort() {
	jQuery(this).removeClass("sfhover");
}

jQuery(function ($) {
	$(".reflect ").reflect();
	$('.prod-selection a').css({
		opacity: .6
	});
	$(".prod-selection a").hover(function () {
		$(this).stop().animate({
			opacity: 1
		}, 'fast');
	}, function () {
		$(this).stop().animate({
			opacity: .6
		}, 'fast');
	});
});
jQuery(function ($) {
	$('.slideshow').cycle({
		fx: 'fade'
	});
});

jQuery(function ($) {
$(".sec-t a").fancybox({
				'width'				: 820,
				'height'			: 430,
				'autoScale'			: false,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'type'				: 'iframe'
			});
});

jQuery(function ($) {
$(".img-slide").fancybox({
				'width'				: 820,
				'height'			: 430,
				'autoScale'			: false,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'type'				: 'iframe'
			});
});

/*Opzioni fancyBox sulle miniature che scorrono */
jQuery(function ($) {
	$(".prod-selection a").live('click', function() {

	 $(this).fancybox({
			'width': 800,
			'height': 630,
			'transitionIn': 'elastic',
			'transitionOut': 'elastic',
			'speedIn': 600,
			'speedOut': 200,
			'overlayShow': false,
			'type'	: 'iframe'
		});
		/* Claudio */
		$(".fancy980").fancybox({
			'width': 980,
			'height': 630,
			'transitionIn': 'fade',
			'transitionOut': 'fade',
			'speedIn': 600,
			'speedOut': 200,
			'overlayShow': false,
			'type'	: 'iframe'
		});
		
	 return false;  
	});	
});
jQuery(function ($) {
	$("#breadcrumps a:first").click(function(){
	
	});
});
