$(document).ready(function(){  
$(".feature-item").css("display", "block");

$('.feature-content').after('<div id="nav" class="feature-nav">').cycle({ 
    	fx:     'scrollLeft', 
		timeout: 6000, 
		delay:  -2000,
		random: 1,  
		pager: '#nav',
		// callback fn that creates a thumbnail to use as pager anchor 
		pagerAnchorBuilder: function(idx, slide) { 
			return '<a href="#">&bull;</a>'; 
		}
});

$('.slideshow').cycle({
		fx:	'fade',
		timeout: 5000,
		pause: true,
		next:'.slideshow'
});

//Slide up and down on click
$(".toggle_container").hide(); 
$(".trigger").click(function(){
	$(this).next(".toggle_container").slideToggle("slow");
});
	
//$(".feature-item").hover(function() {
//		$('.feature-content').cycle('pause'); 
//});

});
