jQuery.fn.extend( {
	jInputTexto : function(settings) {

		settings = jQuery.extend( {
			'texto' : 'Buscar:',
			'cor_focus' : '#000',
			'cor_blur' : '#7c7c7c'
		}, settings);

		this.focus(function() {
			$(this).css('color', settings.cor_focus);
			if (this.value == settings.texto) {
				this.value = '';
			}
			;
		});

		this.blur(function() {
			$(this).css('color', settings.cor_blur);
			if (this.value == '') {
				this.value = settings.texto;
			}
		});

		this.each(function() {
			$(this).css('color', settings.cor_blur);
			if (this.value == '') {
				this.value = settings.texto;
			}
		});
	}
});