// Champs (avec contenance)
(function($) {
	$.fn.champs = function( parametre ) {
		// Si on veut récupérer le contenu d'origine
		if( parametre == 'getValue' )
			return $(this).attr('champs');
		// A l'initialisation de l'objet, on récupère la valeur par défaut
		$(this).attr( 'champs', $(this).val() );
		// L'objet à le pointeur
		$(this).focus( function() {
			// Si il contient le texte de base
			if( $(this).val() == $(this).attr( 'champs' ) )
			{
				$(this).val( '' ); 
			}
		});
		// L'objet perd le pointeur
		$(this).blur( function() {
			// Si l'objet ne contient rien
			if( $(this).val() == '' )
			{
				$(this).val( $(this).attr( 'champs' ) ) ;
			}
		});
		return this;
	};
})(jQuery);
