/*
Função para causar delay antes de enviar

Exemplo:
$(this).delay(1000,function(){
   $(document).ready(function() {
      $("#erro1").fadeIn("slow");
   });
}
   
Primeiro o script espera 1 segundo, depois executa o que estiver dentro
*/


jQuery.fn.delay = function(time,func){
    this.each(function(){
        setTimeout(func,time);
    });
               
    return this;
};



