(function($){
	$.fn.adjectifs = function(options) {

		var defaults = {
			mots : ['humiliant', 'désastreux', 'catastrophique', 'indigne', 'scandaleux', 'incroyable', 'honteux', 'ridicule', 'consternant', 'déshonorant', 'indécent', 'méprisable', 'ignoble', 'dégradant', 'ordurier', 'inqualifiable'],
			delay : 2
		};
				
		var options = $.extend(defaults, options);
		
		this.each(function(){
		
			var obj = $(this);
			
			phrase = "Le mondial 2010 de <strong>l'Equipe de France</strong> est tout simplement ";
						
			obj.html(phrase+" <span id='mot'></span>");
			
			addAdj();
			
			setInterval(function(){ addAdj() }, options.delay*1000);
			
			function addAdj()
			{
				randMot = Math.floor(Math.random()*options.mots.length);
				obj.find("#mot").fadeOut("normal",function(){ $(this).html(options.mots[randMot]).fadeIn()});
			}
			
		});
		return this;
	};
})(jQuery);
