jQuery(function( $ ){
	$('#blog_slider').serialScroll({
		target:'#blog_slider_panel_container',
		items:'li', // Selector to the items ( relative to the matched elements, '#panels' in this case )
		prev:'span.prev',// Selector to the 'prev' button (absolute!, meaning it's relative to the document)
		next:'span.next',// Selector to the 'next' button (absolute too)
		axis:'x',// The default is 'y' scroll on both ways
		duration:700,// Length of the animation (if you scroll 2 axes and use queue, then each axis take half this time)
		onBefore:function( e, elem, $pane, $items, pos ){
			e.preventDefault();
			if(this.blur) this.blur();
		},
		onAfter:function(elem){}
	});
});
