    <!--
      /* Move Data de Hoje para Objeto Hidden assim que a página é carregada */
     function MoveData() {

      var DATA = new Date();
      var DIA  = DATA.getDate();
      var MES  = DATA.getMonth();
      var ANO  = DATA.getYear();
      var MESES  = new Array(11);
	
      if (DIA < 10 ) {
        DIA = '0' + DIA;
      }

      if (ANO < 1000) {
        ANO += 1900;
      }

      MESES[0]  = '01';
      MESES[1]  = '02';
      MESES[2]  = '03';
      MESES[3]  = '04';
      MESES[4]  = '05';
      MESES[5]  = '06';
      MESES[6]  = '07';
      MESES[7]  = '08';
      MESES[8]  = '09';
      MESES[9]  = '10';
      MESES[10] = '11';
      MESES[11] = '12';      

      document.cadastro.DataHoje.value = (DIA + '/' + MESES[MES] + '/' + ANO);

     }

    //-->

    <!--
     function verificacnpf(cnpf) {
        /* verifica o Cnpf com 11 caracteres e sem asterisco, traco e ponto */
        var NUMERO = new String(cnpf);
        if (NUMERO.length !=11) {
               return false;
               }
        // mostra erro se tiver:   . - *
        if ( (NUMERO.indexOf(".")>=0) || (NUMERO.indexOf("-")>=0) || (NUMERO.indexOf("*")>=0) ) {
               return false;
               }
        if (NUMERO=='00000000000') return false ;
        if (NUMERO=='11111111111') return false ;
        if (NUMERO=='22222222222') return false ;
        if (NUMERO=='33333333333') return false ;
        if (NUMERO=='44444444444') return false ;
        if (NUMERO=='55555555555') return false ;
        if (NUMERO=='66666666666') return false ;
        if (NUMERO=='77777777777') return false ;
        if (NUMERO=='88888888888') return false ;
        if (NUMERO=='99999999999') return false ;

        /* verifica o Cnpf é válido */
        // var NUMERO = document.cadastro.acCnpf.value;
        var POSICAO, I, SOMA, DV, DV_INFORMADO;
        var DIGITO = new Array(10);
               
        /* Retira do número informado os dois últimos dígitos */
        DV_INFORMADO = NUMERO.substr( 9, 2);
        /* Desmembra o número do CPF na matriz DIGITO */
        for (I=0; I<=8; I++) {
          DIGITO[I] = NUMERO.substr( I, 1);
        }
        /* Calcula o valor do 10o. digito de verificação */
        POSICAO = 10;
        SOMA = 0;
        for (I=0; I<=8; I++) {
          SOMA = SOMA + DIGITO[I] * POSICAO;
          POSICAO = POSICAO - 1;
        }
        DIGITO[9] = SOMA % 11;
        if (DIGITO[9] < 2) {
          DIGITO[9] = 0; }
        else {
          DIGITO[9] = 11 - DIGITO[9];
        }
        /* Calcula o valor do 11o. digito de verificação */
        POSICAO = 11;
        SOMA = 0;
        for (I=0; I<=9; I++) {
          SOMA = SOMA + DIGITO[I] * POSICAO;
          POSICAO = POSICAO - 1;
        }
        DIGITO[10] = SOMA % 11;
        if (DIGITO[10] < 2) {
          DIGITO[10] = 0; }
        else {
          DIGITO[10] = 11 - DIGITO[10];
        }
        /* Vericica se o DV calculado é igual ao informado */
        DV = DIGITO[9] * 10 + DIGITO[10];
        if (DV != DV_INFORMADO) {
              
            return false;  
        } 
        return true;
      }
    //-->
    
    <!--
      /* Converte pra Maiúscula e tira acentos */
      function ConverMaiuscAcento(CAMPO) {
        CAMPO.value = CAMPO.value.toUpperCase();
        CAMPO.value = CAMPO.value.replace(/Á/g, 'A');
        CAMPO.value = CAMPO.value.replace(/À/g, 'A');
        CAMPO.value = CAMPO.value.replace(/Ä/g, 'A');
        CAMPO.value = CAMPO.value.replace(/Ã/g, 'A');
        CAMPO.value = CAMPO.value.replace(/Â/g, 'A');
        CAMPO.value = CAMPO.value.replace(/Ç/g, 'C');
        CAMPO.value = CAMPO.value.replace(/É/g, 'E');
        CAMPO.value = CAMPO.value.replace(/È/g, 'E');
        CAMPO.value = CAMPO.value.replace(/Ë/g, 'E');
        CAMPO.value = CAMPO.value.replace(/Ê/g, 'E');
        CAMPO.value = CAMPO.value.replace(/Í/g, 'I');
        CAMPO.value = CAMPO.value.replace(/Ì/g, 'I');
        CAMPO.value = CAMPO.value.replace(/Ï/g, 'I');
        CAMPO.value = CAMPO.value.replace(/Î/g, 'I');
        CAMPO.value = CAMPO.value.replace(/Ó/g, 'O');
        CAMPO.value = CAMPO.value.replace(/Ò/g, 'O');
        CAMPO.value = CAMPO.value.replace(/Ö/g, 'O');
        CAMPO.value = CAMPO.value.replace(/Õ/g, 'O');
        CAMPO.value = CAMPO.value.replace(/Ô/g, 'O');
        CAMPO.value = CAMPO.value.replace(/Ú/g, 'U');
        CAMPO.value = CAMPO.value.replace(/Ù/g, 'U');
        CAMPO.value = CAMPO.value.replace(/Ü/g, 'U');
        CAMPO.value = CAMPO.value.replace(/Û/g, 'U');
      }
    //-->

    <!--
       function verificaEmail(Email) {
           // validacao do EMAIL
          if (Email.indexOf('@') == -1) {
                 return false;
             }
          if (Email.lastIndexOf(".") < Email.indexOf("@")) {
                return false;
             }
          return true;
       }
     //-->

     <!--
     function verificacep(cep) {
        /* verifica o Cep com 8 caracteres e sem asterisco, traco e ponto */
        var NUMCEP = new String(cep);
        if (NUMCEP.length !=8) {
               return false;
               }
        // mostra erro se tiver:   . - *
        if ( (NUMCEP.indexOf(".")>=0) || (NUMCEP.indexOf("-")>=0) || (NUMCEP.indexOf("*")>=0) ) {
               return false;
               }
        return true;
          }
     //-->

     <!--
     /* Funções q chamam outras e fazem verificação */

       function verificacao()
       {
     	if (document.cadastro.acNumero_Coren.value.length !=8) 
		     {alert('O Nº de Inscrição está Inválido!') ; document.cadastro.acNumero_Coren.focus() ;return false ;}
        if (!verificacnpf(document.cadastro.acCnpf.value)) 
      		     {alert('CNPF Inválido! Informe somente números!') ; document.cadastro.acCnpf.focus() ;return false ;}
	if (document.cadastro.aaNome.value.length <=0) 
		     {alert('O campo NOME é Obrigatório') ; document.cadastro.aaNome.focus() ;return false ;}
	if(!verificaEmail(document.cadastro.abEmail.value))
		     {alert('O campo EMAIL deve ser preenchido ou está inválido') ; document.cadastro.abEmail.focus() ;return false ;}
	if (document.cadastro.aeResidencial.value.length <=0) 
		     {alert('O campo Endereço é Obrigatório') ; document.cadastro.aeResidencial.focus() ;return false ;}
	if (document.cadastro.afBairro.value.length <=0) 
		     {alert('O campo Bairro é Obrigatório') ; document.cadastro.afBairro.focus() ;return false ;}
	if (!verificacep(document.cadastro.agCep.value)) 
		     {alert('O Cep está Inválido! Informe somente números!') ; document.cadastro.agCep.focus() ;return false ;}
	if (document.cadastro.ahCidade.value.length <=0) 
		     {alert('O campo Cidade é Obrigatório') ; document.cadastro.ahCidade.focus() ;return false ;}
	//if (document.cadastro.ajEndereco_Profissional.value.length <=0) 
	//	     {alert('O campo Endereço é Obrigatório') ; document.cadastro.ajEndereco_Profissional.focus() ;return false ;}
	//if (document.cadastro.alBairro.value.length <=0) 
	//	     {alert('O campo Bairro é Obrigatório') ; document.cadastro.alBairro.focus() ;return false ;}
	//if (!verificacep(document.cadastro.amCep.value)) 
	//	     {alert('O Cep está Inválido! Informe somente números!') ; document.cadastro.amCep.focus() ;return false ;}
	//if (document.cadastro.anCidade.value.length <=0) 
	//	     {alert('O campo Cidade é Obrigatório') ; document.cadastro.anCidade.focus() ;return false ;}
       }
     //-->
