// JavaScript Document
$(document).ready(function() {
						   
						   
					   
$("a[rel=puntovendita]").fancybox({
'transitionIn'		: 'elastic',
'transitionOut'		: 'elastic',
'titlePosition' 	: 'over',
'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
}
});
						   
$("a[rel=puntovendita2]").fancybox({
'transitionIn'		: 'elastic',
'transitionOut'		: 'elastic',
'titlePosition' 	: 'over',
'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
}
});



$("a[rel=servizi_layout]").fancybox({
'transitionIn'		: 'elastic',
'transitionOut'		: 'elastic',
'titlePosition' 	: 'over',
'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
}
});

$("a[rel=servizi_consulenza]").fancybox({
'transitionIn'		: 'elastic',
'transitionOut'		: 'elastic',
'titlePosition' 	: 'over',
'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
}
});
		
$("a[rel=servizi_assistenza]").fancybox({
'transitionIn'		: 'elastic',
'transitionOut'		: 'elastic',
'titlePosition' 	: 'over',
'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
}
});
				
		
$("a[rel=servizi_vendita]").fancybox({
'transitionIn'		: 'elastic',
'transitionOut'		: 'elastic',
'titlePosition' 	: 'over',
'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
}
});
			

$("a[rel=servizi_test]").fancybox({
'transitionIn'		: 'elastic',
'transitionOut'		: 'elastic',
'titlePosition' 	: 'over',
'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
}
});
			
$("a[rel=servizi_ricambi]").fancybox({
'transitionIn'		: 'elastic',
'transitionOut'		: 'elastic',
'titlePosition' 	: 'over',
'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
}
});
				
	
	
	
$("a[rel=download_riservato]").fancybox({
	'autoScale'			: true,
'transitionIn'		: 'none',
'transitionOut'		: 'none',
'type'				: 'iframe'

});
				
	
	
	
		
		
		
});


