	// On Dom Ready;
	$(document).ready(function() {

		// Initiate Slider;
        $('.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: 6500,                    // How long between slide transitions in AutoPlay mode
            startStopped: false,            // If autoPlay is on, this can force it to start stopped
            animationTime: 1100,             // 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)
        });
        
        //borrowed from jQuery easing plugin
		//http://gsgd.co.uk/sandbox/jquery.easing.php
		$.easing.backout = function(x, t, b, c, d){
			var s=0.8;
			return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;
		};
		
		$('#screen').scrollShow({
			view:'#view',
			content:'#images',
			easing:'backout',
			wrappers:'link,crop,dots',
			navigators:'a[id]',
			navigationMode:'sr',
			circular:true,
			start:0
		});
        
		// Call Ticker;
		setInterval( "ticker('newsTicker')", 9000 );
		
	});

	// Initiate Ticker;
	function ticker(el){
		activeDiv = $('#'+el).children(":visible");
		nextDiv = $('#'+el).children(":visible").next();
		if(nextDiv.length < 1){
			nextDiv = $('#'+el).children().first();
		}
		activeDiv.fadeOut(600);
		nextDiv.delay(600).fadeIn(600);
	}
	
	// Format Slider Nav;
    function formatText(index, panel) {
		  return index + "";
	}

