;(function(jQuery) {
	jQuery.simpleFade = {
		start: function(id) {
			var active = jQuery("#" + id + " div.active");
			if (active.length) {
				active = active.removeClass('active').fadeOut('slow').next();
				active = !active.length ? jQuery("#" + id + " div:first-child") : active;
				active.addClass('active');
			} else {
				active = jQuery("#" + id + " div:first-child").addClass('active');
			}
			active.fadeIn(1000);
		}
	};
	
	jQuery.fn.simpleFade = function(milliseconds) {
		return this.each(function() {
			var item = jQuery(this);
			var id = item.attr('id');
			setInterval(jQuery.simpleFade.start, milliseconds, id);
		});
	};
})(jQuery);