	jQuery.noConflict();
	jQuery(document).ready(function() {
        function inputVal() {
			jQuery('form#searchform input').blur(function() {
				var text = jQuery(this).attr('desc');
				if(jQuery(this).val() == '')
					jQuery(this).val(text);
			}).focus(function() {
				var text = jQuery(this).attr('desc');
				if(jQuery(this).val() == text)
					jQuery(this).val('');
			});
		}
		
		inputVal();

		// Verify if input is blanck
		jQuery('form#searchform').submit(function() {
			var este = jQuery(this).attr('id');
			var answer = null;
			jQuery('form#searchform input.obrigatorio').each(function() {
				var i = jQuery(this);
				var text = i.attr('desc');
				if (i.val() == '' || i.val() == text) {
					answer = false;
				} else {
					i.parent('p.info').removeClass('validate');
				};
			});
			if (answer == false) {
				alert('Digite um texto para sua pesquisa');
				return answer;
			}
		});
	});
