$(function() {
		   
   
   $('#slider_outer').after("<div class='pagination'><ul id='thumbs'>").cycle({   												  
		fx:    'fade', 
		timeout:12000,
		speed: 500,
	    pager: '#thumbs',
		activePagerClass: 'active',
		pagerAnchorBuilder: function(idx, slide) {
			$('#thumbsHide').hide();
			return '<li><a href="#"></a></li>';				
		}
		//after: Onafter
		
	});
    $('.content_details').show();
	$('.image_box').show();
   
});

function Onafter(curr, next, opts) {
	
	 var index = opts.currSlide;
	 
	 $('.content_details').eq(index).show();
	 
}
