// Place your application-specific JavaScript functions and classes here
//
(function($){
 /* Função que adiciona texto no campo input*/
 $.fn.inp_focus = function(text){
 var obj = this

 text = text ||"Preencha o campo"
 if(obj.val() == '')
 obj.val(text)

 obj.focus(function (){
   if($(this).val() == text)
   $(this).val('')
   });

 obj.blur(function(){
   if($(this).val() == '')
   $(this).val(text)
   });
 }
 })(jQuery);


jQuery(function() {
 jQuery('.jsReseter').each(function() { $(this).inp_focus($(this).attr('value')); });
});
