 // This is for Content Slider....
//featuredcontentslider.init({
//	id: "slider2",  //id of main slider DIV
//	contentsource: ["inline", ""],  //Valid values: ["inline", ""] or ["ajax", "path_to_file"]
//	toc: "markup",  //Valid values: "#increment", "markup", ["label1", "label2", etc]
//	nextprev: ["Previous", "Next"],  //labels for "prev" and "next" links. Set to "" to hide.
//	revealtype: "click", //Behavior of pagination links to reveal the slides: "click" or "mouseover"
//	enablefade: [true, 0.2],  //[true/false, fadedegree]
//	autorotate: [false, 3000],  //[true/false, pausetime]
//	onChange: function(previndex, curindex){  //event handler fired whenever script changes slide
//		//previndex holds index of last slide viewed b4 current (1=1st slide, 2nd=2nd etc)
//		//curindex holds index of currently shown slide (1=1st slide, 2nd=2nd etc)
//	}
//})





 // anything slider..
 function formatText(index, panel) {
		  return index + "";
	    }
        $(function () {
        
            $('.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: 5000,                    // How long between slide transitions in AutoPlay mode
                startStopped: false,            // If autoPlay is on, this can force it to start stopped
                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: "Go",             // Start text
		        stopText: "Stop",               // Stop text
		        navigationFormatter: formatText       // Details at the top of the file on this use (advanced use)
            });
            
            $("#slide-jump").click(function(){
                $('.anythingSlider').anythingSlider(2);
            });
            
        });
		
	
//fade

	$(document).ready(function(){
			$('img.captify').captify({
				// all of these options are... optional
				// ---
				// speed of the mouseover effect
				speedOver: 'fast',
				// speed of the mouseout effect
				speedOut: 'normal',
				// how long to delay the hiding of the caption after mouseout (ms)
				hideDelay: 500,	
				// 'fade', 'slide', 'always-on'
				animation: 'slide',		
				// text/html to be placed at the beginning of every caption
				prefix: '',		
				// opacity of the caption on mouse over
				opacity: '0.7',					
				// the name of the CSS class to apply to the caption box
				className: 'caption-bottom',	
				// position of the caption (top or bottom)
				position: 'bottom -10px',
				// caption span % of the image
				spanWidth: '100%'
			});
		});





