			//////////////////////////
			// jCarousel START
			//////////////////////////

			/**
			* We use the initCallback callback
			* to assign functionality to the controls
			*/
			function mycarousel_initCallback_big(carousel) {
				jQuery('#mycarouselBig .jcarousel-control a').bind('click', function() {
					carousel.scroll(jQuery.jcarousel.intval(jQuery(this).text()));
							jQuery('#mycarouselBig .jcarousel-control a').removeClass('current');
							jQuery(this).addClass('current');
					return false;
				});

				// Pause autoscrolling if the user moves with the cursor over the clip.
				carousel.clip.hover(function() {
					carousel.stopAuto();
				}, function() {
					carousel.startAuto();
				});
				jQuery('#mycarouselBig .jcarousel-control').hover(function() {
					carousel.stopAuto();
				}, function() {
					carousel.startAuto();
				});
			};

			/**
			* We use the initCallback callback
			* to assign functionality to the controls
			*/
			function mycarousel_initCallback_small(carousel) {
				jQuery('#mycarouselSmall .jcarousel-control a').bind('click', function() {
					carousel.scroll(jQuery.jcarousel.intval(jQuery(this).text()));
							jQuery('#mycarouselSmall .jcarousel-control a').removeClass('current');
							jQuery(this).addClass('current');
					return false;
				});

				// Pause autoscrolling if the user moves with the cursor over the clip.
				carousel.clip.hover(function() {
					carousel.stopAuto();
				}, function() {
					carousel.startAuto();
				});
				jQuery('#mycarouselSmall .jcarousel-control').hover(function() {
					carousel.stopAuto();
				}, function() {
					carousel.startAuto();
				});

			};
			function highlight_big(carousel, obejctli,liindex,listate){
				jQuery('#mycarouselBig .jcarousel-control a').removeClass('current');
				jQuery('#mycarouselBig .jcarousel-control a:nth-child('+ liindex +')').attr("class","current");
			};
			function removehighlight_big(carousel, obejctli,liindex,listate){
				jQuery('#mycarouselBig .jcarousel-control a:nth-child('+ liindex +')').removeAttr("class","current");
			};
			function highlight_small(carousel, obejctli,liindex,listate){
				jQuery('#mycarouselSmall .jcarousel-control a').removeClass('current');
				jQuery('#mycarouselSmall .jcarousel-control a:nth-child('+ liindex +')').attr("class","current");
			};
			function removehighlight_small(carousel, obejctli,liindex,listate){
				jQuery('#mycarouselSmall .jcarousel-control a:nth-child('+ liindex +')').removeAttr("class","current");
			};

			jQuery(document).ready(function(){
				jQuery("#mycarouselBig").jcarousel({
					scroll: 1,
					initCallback: mycarousel_initCallback_big,
					// Automatic highlight of the controllers
					itemVisibleInCallback:  highlight_big,
					itemVisibleOutCallback: removehighlight_big,
					// This tells jCarousel NOT to autobuild prev/next buttons
					buttonNextHTML: null,
					buttonPrevHTML: null,
					//Autoscroll
					auto: 3, //seconds for the user to read...
					wrap: 'last'
				});

				jQuery("#mycarouselSmall").jcarousel({
					scroll: 1,
					initCallback: mycarousel_initCallback_small,
					// Automatic highlight of the controllers
					itemVisibleInCallback:  highlight_small,
					itemVisibleOutCallback: removehighlight_small,
					//Autoscroll
					auto: 8, //seconds for the user to read...
					wrap: 'last' //con questo parametro settato il disabled di next/prev è sempre false
				});
			});
