//tabs
$(function() {
	// Set tab constructor
	$('#tabCallout').tabs({ selected: '0'});
});


//rounded corners 
$('.roundTop').corner("top 8px");
$('.roundBttn').corner("top 7px");
$('.round').corner("7px");
$('a#slide-1.selected').corner("tl 7px");
$('.anythingSlider .wrapper').corner("tr 7px");

//home billboard 
        $(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: 3000,                    // How long between slide transitions in AutoPlay mode
                startStopped: true,            // If autoPlay is on, this can force it to start stopped
                animationTime: 400,             // 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: false,             // Start text
        		stopText: false,               // Stop text
		        navigationFormatter: null       // Details at the top of the file on this use (advanced use)
            });
            
            $("#slide-1").click(function(){
                $('.anythingSlider').anythingSlider(1);
            });
			$("#slide-2").click(function(){
                $('.anythingSlider').anythingSlider(2);
            });
			$("#slide-3").click(function(){
                $('.anythingSlider').anythingSlider(3);
            });
			
			
			//creates the on state for the buttons
			$("#sliderNav a").click(function(){          
        		$("a.selected").removeClass("selected");  
       			$(this).addClass("selected");                   
        		return false;                                           
			});

            
        });
	
//testimonials 
        $(function () {
        
            $('.testimonialSlider').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: 900,             // How long the slide transition takes
                hashTags: false,                 // 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: false,             // Start text
        		stopText: false,               // Stop text
		        navigationFormatter: null       // Details at the top of the file on this use (advanced use)
            });
            
        });
		