function validaForm()
{

	if(isVazio(document.fr_cadastro.txt_nome, 'Nome')) return false;
	if(!isEmail(document.fr_cadastro.txt_email)) return false;
	
	if (!isCPFCNPJ(document.fr_cadastro.txt_cpf.value, 1))
	{
		err("CPF");
		return false;
	}
	
	if(isVazio(document.fr_cadastro.txt_endereco, 'Endereço')) return false;
	if(isVazio(document.fr_cadastro.txt_numero, 'Número do endereço')) return false;
	if(isVazio(document.fr_cadastro.txt_bairro, 'Bairro')) return false;
	if(isVazio(document.fr_cadastro.txt_cep, 'CEP')) return false;
	if(!isLenght(document.fr_cadastro.txt_cep, 'CEP', 9)) return false;	
	if(isVazio(document.fr_cadastro.txt_cidade, 'Cidade')) return false;
	if(isVazio(document.fr_cadastro.txt_estado, 'Estado')) return false;
	if(isVazio(document.fr_cadastro.txt_dddtel, 'DDD do Telefone')) return false;
	if(!isLenght(document.fr_cadastro.txt_dddtel, 'DDD do Telefone', 2)) return false;
	if(isVazio(document.fr_cadastro.txt_tel, 'Telefone')) return false;
	if(!isLenght(document.fr_cadastro.txt_tel, 'Telefone', 9)) return false;
	if(!isChecked(document.fr_cadastro.sexo, 'Sexo')) return false;
	if(isVazio(document.fr_cadastro.txt_loja, 'Loja')) return false;
	if(isVazio(document.fr_cadastro.txt_dt_niver, 'Data de Aniversário')) return false;
	
	return true;
	
}
