function formatText(index, panel) {	return $('h2.slidetitle').eq(index-1).text();}$(function () {	$('.magic, #lastmenuicon div, ul#second_menu li a').css('opacity', 0);	$('.magic').hover(		function () {			$(this).stop().animate({ opacity: 1 }, 200, 'swing');		},		function () {			$(this).stop().animate({ opacity: 0 }, 200, 'swing');		}	);		$('ul#second_menu li a').hover(		function () {			$(this).stop().animate({ opacity: 1 }, 200, 'swing');			$('div#lastmenuicon div').stop().animate({ opacity: 1 }, 200, 'swing');		},		function () {			$(this).stop().animate({ opacity: 0 }, 200, 'swing');			$('div#lastmenuicon div').stop().animate({ opacity: 0 }, 200, 'swing');		}	);		$('.anythingSlider').anythingSlider({		easing: "easeInOutExpo",        // Anything other than "linear" or "swing" requires the easing plugin		autoPlay: true,                 // This turns off the entire FUNCTIONALY, not just if it starts running or not.		delay: 3000,                    // How long between slide transitions in AutoPlay mode		startStopped: false,            // If autoPlay is on, this can force it to start stopped		animationTime: 900,             // 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: "Go",             // Start text		stopText: "Stop",               // Stop text		navigationFormatter: formatText       // Details at the top of the file on this use (advanced use)	});		$("#sa_1").click(function(){		$('.anythingSlider').anythingSlider(1);	});		$("#sa_2").click(function(){		$('.anythingSlider').anythingSlider(2);	});		$("#sa_3").click(function(){		$('.anythingSlider').anythingSlider(3);	});		$("#sa_4").click(function(){		$('.anythingSlider').anythingSlider(4);	});});
