//home page jQuery

var $j = jQuery.noConflict();

$j(window).load(function() {

	//home page main slider - nivo slider
	$j('#slider').nivoSlider({
	effect: 'fade',
	pauseTime: 6000
	});	
	
	//home page fun facts rotate content - cycle slider
	$j('#facts').cycle({ 
	    fx:     'fade', 
	    speed:  'slow', 
	    timeout: 0, 
	    next:   '.btn-fun-facts'
	});
	
	$j('#news-events-item').cycle({ 
	    fx:     'fade', 
	    speed:  'slow', 
	    timeout: 0, 
	    next:   '.btn-news-events'
	});
	
	$j('#latest-blog-item').cycle({ 
	    fx:     'fade', 
	    speed:  'slow', 
	    timeout: 0, 
	    next:   '.btn-blog-latest'
	});
	
});
