jQuery(function( $ ){
	
	$('#tv').serialScroll({
		target:'#tela',
		items:'li', // Selector to the items ( relative to the matched elements, '#sections' in this case )
		prev:'#ante',// Selector to the 'prev' button (absolute!, meaning it's relative to the document)
		next:'#prox',// Selector to the 'next' button (absolute too)
		axis:'xy',// The default is 'y' scroll on both ways
		duration:700,// Length of the animation (if you scroll 2 axes and use queue, then each axis take half this time)
		force:true, // Force a scroll to the element specified by 'start' (some browsers don't reset on refreshes)
		interval:5000,
		cycle:true
		});
	
	$('#slide').serialScroll({
		items:'li',
		duration:1000,
		force:true,
		axis:'xy',
		navigation:'#nav li a',
		interval:5000,
		cycle:true
		});

//Historia	
	$('#misses').serialScroll({
		items:'li', // Selector to the items ( relative to the matched elements, '#sections' in this case )
		prev:'.ante',// Selector to the 'prev' button (absolute!, meaning it's relative to the document)
		next:'.prox',// Selector to the 'next' button (absolute too)
		step:6,
		axis:'x',// The default is 'y' scroll on both ways
		duration:1000,// Length of the animation (if you scroll 2 axes and use queue, then each axis take half this time)
		force:true, // Force a scroll to the element specified by 'start' (some browsers don't reset on refreshes)
		exclude:5
		});
	

//Revistas	
	$('#revistas').serialScroll({
		items:'li', // Selector to the items ( relative to the matched elements, '#sections' in this case )
		prev:'.ante',// Selector to the 'prev' button (absolute!, meaning it's relative to the document)
		next:'.prox',// Selector to the 'next' button (absolute too)
		step:6,
		axis:'x',// The default is 'y' scroll on both ways
		duration:1000,// Length of the animation (if you scroll 2 axes and use queue, then each axis take half this time)
		force:true, // Force a scroll to the element specified by 'start' (some browsers don't reset on refreshes)
		exclude:5
		});
	
//Noticias 
	$('.scroll').serialScroll({
		items:'li', // Selector to the items ( relative to the matched elements, '#sections' in this case )
		prev:'#thumb .ante',// Selector to the 'prev' button (absolute!, meaning it's relative to the document)
		next:'#thumb .prox',// Selector to the 'next' button (absolute too)
		step:12,
		axis:'x',// The default is 'y' scroll on both ways
		duration:1000,// Length of the animation (if you scroll 2 axes and use queue, then each axis take half this time)
		force:true, // Force a scroll to the element specified by 'start' (some browsers don't reset on refreshes)
		cycle: true,
		exclude:11
		});
	
});
