// JavaScript Document

// SLIDER PRINCIPAL CON OPCIONES DE CAMBIAR IMAGEN
//--------------------------------------------------
$(window).load(function() {
	$('#slider').nivoSlider({ 
	pauseTime:11000
	});
});

// SLIDER PRINCIPAL SIN OPCIONES DE CAMBIAR IMAGEN
//--------------------------------------------------
$(window).load(function() {
	$('#slider_basico').nivoSlider({
	effect:'fade',
	directionNav:false,
	controlNav:false,
	animSpeed:2000,  
	pauseTime:7000
	});
});

// SLIDER DE IMAGENES DE EVENTOS
//--------------------------------------------------
$(window).load(function() {
	$('#slider_eventos').nivoSlider({
	effect:'fade',
	directionNav:false,
	controlNav:false,
	animSpeed:1000,  
	pauseTime:16000
	});
});

// SLIDER DE IMAGENES DEL HORARIO DE NOTIVISA
//--------------------------------------------------
$(window).load(function() {
	$('#slider_notivisa').nivoSlider({
	effect:'sliceUpLeft',
	directionNav:false,
	controlNav:false,
	animSpeed:900,  
	pauseTime:10000
	});
});

// SLIDER DE IMAGENES DEL HORARIO DE NOTIVISA
//--------------------------------------------------
$(window).load(function() {
	$('#slider_anuncios').nivoSlider({
	effect:'fade',
	directionNav:false,
	controlNav:false,
	animSpeed:900,  
	pauseTime:10000
	});
});

// SLIDER DE PROMOCIONES
//--------------------------------------------------	
$(document).ready(function(){	
	$("#slider_promo").easySlider({
	auto: true, 
	continuous: true
	});
});


// SLIDER DE GARITAS
//--------------------------------------------------	
$(document).ready(function(){	
	$("#slider_garitas").easySlider({
	auto: true, 
	continuous: true,
	controlsShow: false,
	speed: 800,
	pause: 10000,
	controlsFade: false
	});
});

// SLIDER DE slider_fotos_caminata
//--------------------------------------------------	
$(document).ready(function(){	
	$("#slider_fotos").easySlider({
	auto: true, 
	continuous: true,
	controlsShow: false,
	speed: 800,
	pause: 5000
	});
});

// SLIDER CONDUCTORES
//--------------------------------------------------
jQuery(function( $ ){
	$.easing.backout = function(x, t, b, c, d){
	var s=1.70158;
	return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;
	};
	$('#screnn_condutores').scrollShow({
		view:'#view',
		content:'#images',
		easing:'backout',
		wrappers:'resize',
		navigators:'a[id]', 
		navigationMode:'s',
		circular:true,
		start:0,
		itemSize:{
		height:103,
		width:146
		}
	});
});

// SLIDER GALERIA DE EVENTOS
//--------------------------------------------------
$(document).ready(function(){	
	$("#slider_galeria_eventos").easySlider({
	auto: true, 
	continuous: true
	});
});

