// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults

                          function not_is_valid_mail(email){
                          if((email == "") || (!(/^\w+([\.-_]?\w+)*@\w+([\.-_]?\w+)*(\.\w{2,4})+$/.test(email)))){
		                            alert("O campo e-mail deve ser preenchido com um endereço válido.");
		                            return false;
                                } 
		                           return true;
                            }