$(document).ready(function(){

	function formatText(index, panel) {
		//return "<span>"+index+"</span>";
		return index;
	}
	
	/* $('.anythingSlider').anythingSlider({
	   easing: "swing",                // Anything other than "linear" or "swing" requires the easing plugin
	   autoPlay: true,                 // This turns off the entire FUNCTIONALITY, not just if it starts running or not
	   startStopped: false,            // If autoPlay is on, this can force it to start stopped
	   delay: 3000,                    // How long between slide transitions in AutoPlay mode
	   animationTime: 600,             // How long the slide transition takes
	   hashTags: true,                 // Should links change the hashtag in the URL?
	   buildNavigation: true,          // If true, builds and list of anchor links to link to each slide
	   pauseOnHover: true,             // If true, and autoPlay is enabled, the show will pause on hover
	   startText: "Start",             // Start text
	   stopText: "Stop",               // Stop text
	   navigationFormatter: formatText       // Advanced Use: details below
	}); */ 
	
	$('#slider').jFader({
		slideClass: "SlidePage",
		naviClass: "SlideNavi",
		naviActClass: "act",
		easing: "easeInOutExpo",
		delay: 3000,
		animationTime: 2500,
		navi: false	
	}); 

	$(".slide1").click(function(){
                $('.anythingSlider').anythingSlider(1);
				return false;
    });	
	$(".slide2").click(function(){
                $('.anythingSlider').anythingSlider(2);
				return false;
    });
	$(".slide3").click(function(){
                $('.anythingSlider').anythingSlider(3);
				return false;
    });
	$(".slide4").click(function(){
                $('.anythingSlider').anythingSlider(4);
				return false;
    });
	
	$("table.lista tr:odd,table.zebra tr:odd").addClass('odd');
	$("table.lista tr:even,table.zebra tr:even").addClass('even');
	$("table.lista tr").find("td:first").addClass('first');
	$("table.lista tr").find("td:last").addClass('last'); 
	
	//$(".lightbox2").lightBox();
	$(".lightbox").lightBox_old();	

});

