// JavaScript Document

$(document).ready($(function() {

$("#myform").validator();

	// select #flowplanes and make it scrollable. use circular and navigator plugins
	$("#container").scrollable({ circular: true, mousewheel: false, speed: 800 }).navigator({

		// select #flowtabs to be used as navigator
		navi: "#botonera",

		// select A tags inside the navigator to work as items (not direct children)
		naviItem: 'a',

		// assign "current" class name for the active A tag inside navigator
		activeClass: 'current',
		
		// make browser's back button work
		history: true

	});
	
	
	$("#slider-home").easySlider({
			auto: true,
			speed: 		2000,
			continuous: true,
			controlsShow:		false
	});
	
	$("#slider-2").easySlider({ 
			auto: true,
			speed: 		2000,
			continuous: true,
			controlsShow:		false
	});

	$("#slider-3").easySlider({ 
			auto: true,
			speed: 		2000,
			continuous: true,
			controlsShow:		false
	});	
	
/* Quienes Somos */		
	$("#1").click(function() {
        $("#quienes_somos-right span").hide('fast'),
        $("#span1").show('slow')
    })
	
	$("#2").click(function() {
        $("#quienes_somos-right span").hide('fast'),
        $("#span2").show('slow')
    })	

	$("#3").click(function() {
        $("#quienes_somos-right span").hide('fast'),
        $("#span3").show('slow')
    })		
		
}));
