jQuery(function($){
	$(window).load(function() {
		
		/*remove loading class*/
		$('#services-post-slider').removeClass('flex-loading');
		
		/* Flexslider for portfolio posts*/
		$('#services-post-slider .flexslider').flexslider({
			animation: 'fade',
			slideshow: true,
			smoothHeight: true,
			controlNav: false,
			prevText: '<span class="icon-angle-left"></span>',
			nextText: '<span class="icon-angle-right"></span>'
		});
	});
});