jQuery(function($) {
	
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: 12000,                    // How long between slide transitions in AutoPlay mode
              startStopped: false,            // If autoPlay is on, this can force it to start stopped
              animationTime: 1000,             // 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)
          });
                   
      });

  $('#testify ul').innerfade({
  	animationtype: 'fade',
  	speed: 750,
  	timeout: 10000,
  	type: 'sequence',
  	containerheight: 'auto'
  });


$('#primary .post-summary li h3 a')
  .hover(function(e) {
     $(this).hoverFlow(e.type, { left: 7 }, 'fast').css('background-color', '#efefef').css('color', '#007083');
  }, function(e) {
    $(this).hoverFlow(e.type, { left: 0 }, 'fast').css('background-color', 'transparent').css('color', '#111');
  });



	$(window).load(function () {
	  // In one second, do something!
	  $.doTimeout( 7000, function(){
	    $('#landing-form').animate({ 
			backgroundColor: "#406182" 
			}, 100).animate({ 
				backgroundColor: "#caf7ff" 
				}, 1000);			
	  });
	});
	
	
			 $('#content-tabs #tabs').tabs({

				});
	
		
	
 //ACCORDIAN ACTIONS, ETC.
 $('#content #content-accordian').accordion({ 
 		autoHeight: false, 
    alwaysOpen: false
    });
    
    
    //HORIZONTAL ACCORDIAN ACTIONS, ETC.

//$(".test3").hrzAccordion({
//			containerClass     : "container3",
//			listItemClass      : "listItem3",	
//			contentWrapper     : "contentWrapper3",
//			contentInnerWrapper: "contentInnerWrapper3",
//			handleClass        : "handle3",
//			handleClassOver    : "handleOver3",
//			handleClassSelected: "handleSelected3"
//							  });
							  
 $(function(){
   $(".haccordion").haccordion();
  }); 


});