(function($) {
	$.fn.eside_slide_simple = function(options) {
		var 
			defaults = {
				effect_duration: 700,
				timeout: 5000,
				delay: 0
			},
			options = $.extend(defaults, options),
			list = this.find('li'),
			self = this,
			first = list.first(),
			current = first;
		
		first.fadeIn(options.effect_duration);
		
		setTimeout(function() {
			if(list.length > 1) {
				setInterval(function() {
					var next = current.next();

					if(next.length) {
						next.fadeIn(options.effect_duration, function() {
							current.hide();
							current = next;
						});
					} else {
						first.show();
						current.fadeOut(options.effect_duration);
						current = first;
					}
				}, options.timeout);
			}
		}, options.delay);
	}
})(jQuery);
