$(function(){
	
	$('.slider').mobilyslider({
		content: '.sliderContent',// class for slides container
		children: 'div',// selector for children elements
		transition: 'fade',// transition: horizontal, vertical, fade
		animationSpeed: 500,// slide transition speed (miliseconds)
		autoplay: true,
		autoplaySpeed: 7000,// time between transitions (miliseconds)
		pauseOnHover: true,// stop animation while hovering
		bullets: false,// generate pagination (true/false, class: sliderBullets)
		arrows: true,// generate next and previous arrow (true/false, class: sliderArrows)
		arrowsHide: true,// show arrows only on hover
		prev: 'prev',// class name for previous button
		next: 'next',// class name for next button
   		animationStart: function(){}, // call the function on start transition
   		animationComplete: function(){} // call the function when transition completed
	});
	
	$('.slider_2').mobilyslider_2({
		content: '.sliderContent_2',
		children: 'div',
		transition: 'fade',
		animationSpeed: 500,
		autoplay: true,
		autoplaySpeed: 5000,
		pauseOnHover: true,
		bullets: false,
		arrows: true,
		arrowsHide: true,
		prev: 'prev_2',
		next: 'next_2',
		animationStart: function(){},
		animationComplete: function(){}
	});
	
});
