function validaform(){
	if(isEmpty(document.formcadastro.nome.value) || !checkField(document.formcadastro.nome.value))
	{
		warnInvalid(document.formcadastro.nome,'O NOME está vazio ou é inválido!');
		return false;
	}
	if(isEmpty(document.formcadastro.profissao.value) || !checkField(document.formcadastro.profissao.value))
	{
		warnInvalid(document.formcadastro.profissao,'A PROFISSÃO está vazia ou é inválida!');
		return false;
	}
	if(isEmpty(document.formcadastro.telefone.value) || !isInteger(document.formcadastro.telefone.value))
	{
		warnInvalid(document.formcadastro.telefone,'O TELEFONE está vazio ou é inválido!');
		return false;
	}
	if(document.formcadastro.Pais.options[document.formcadastro.Pais.selectedIndex].value == "Brasil"){
		if(document.formcadastro.uf.options[document.formcadastro.uf.selectedIndex].value == "")
		{
			warnInvalid_SelectBox(document.formcadastro.uf,'Selecione o ESTADO');
			return false;
		}
	}
	if(isEmpty(document.formcadastro.cidade.value) || !checkField(document.formcadastro.cidade.value))
	{
		warnInvalid(document.formcadastro.cidade,'A CIDADE está vazia ou contém caracteres inválidos!');
		return false;
	}
	if(isEmpty(document.formcadastro.email.value) || !verificaEmail(document.formcadastro.email.value))
	{
		warnInvalid(document.formcadastro.email,'O E-MAIL está vazio ou contém caracteres inválidos!');
		return false;
	}
  
	document.formcadastro.submit();
	return true;
}
