jQuery.fn.carousel = function(options) {
	settings = jQuery.extend({
		rotate: 5000,
		idPrefix: 'ui-carousel-'
	}, options);
	
  	return this.each(function(){
		$(this).tabs(settings);
		$(this).tabs("rotate",settings.rotate);
	});
}
