	function formatText(index, panel) {
		return index + "";
	};    

	$(function () {	
		$('.slider').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: 6000,                    // 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: false,                 // Should links change the hashtag in the URL?
			buildNavigation: false,          // 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)
		});
		
		/*$('#navi ul li a').click(function(){
			$.scrollTo(this.hash, 500);
			$.scrollTo('-=45', 100);
			return false;
		});*//*

		
		$('#navi ul li a.cloudingsky').click(function(){
			$.scrollTo('#cloudingsky', 500);
			return false;
		});
		
		$('#navi ul li a.whatwedo').click(function(){
			$.scrollTo('#whatwedo', 500);
			$.scrollTo('-=45', 100);
			return false;
		});
		
		$('#navi ul li a.about').click(function(){
			$.scrollTo('#about', 500);
			$.scrollTo('-=70', 100);
			return false;
		});
		
		$('#navi ul li a.clients').click(function(){
			$.scrollTo('#clients', 500);
			return false;
		});
*/
	});
/*	
$(document).ready(function() {
	$("#maplink").fancybox({
		'width'				: '75%',
		'height'			: '75%',
		'autoScale'			: false,
		'transitionIn'		: 'fade',
		'transitionOut'		: 'fade',
		'type'				: 'iframe'
	});
});
*/
