<!--
   function abre_manutencao() {
      window.open("http://www.reservehoteis.com.br/manutencao","popmanutencao","toolbar=yes,directories=no,menubar=no,status=no,scrollbars=yes,resizable=yes,maximized=no,top=5,left=5,height=512,width=797");
   }
   function abre_esqsenha() {
      window.open("poup-up/pop_esqsenha.asp","Esqueceu_senha","toolbar=no,directories=no,menubar=no,status=no,scrollbars=no,resizable=no,maximized=no,top=60,left=100,height=254,width=313");
   }

   function abre_hoteisinternacionais() {
      location.href("internacional/default.asp");//,"pophoteisinternacionais","toolbar=yes,directories=no,menubar=no,status=yes,scrollbars=yes,resizable=yes,maximized=no,top=10,left=10,height=512,width=780");
   }

   function validaDados(formulario){
      if ((formulario.txtLogin.value == null) || (formulario.txtLogin.value.length == 0)){
         erro(formulario.txtLogin,"Por favor, informe seu login.");
         return false;
      }if ((formulario.txtSenha.value == null) || (formulario.txtSenha.value.length == 0)) {
         erro(formulario.txtSenha,"Por favor, informe sua senha.");
         return false;
      }else return true;
   }

   function isNotCurrency(entrada){
      var retorno = true;
      var lixo = entrada.value;
      var iTemp = 0;
      for( k=0; k<lixo.length; k++) {
         if ( (lixo.charAt(k)!= "0") && (lixo.charAt(k)!= "1") && (lixo.charAt(k)!= "2") && (lixo.charAt(k)!= "3") && (lixo.charAt(k)!= "4") && (lixo.charAt(k)!= "5") && (lixo.charAt(k)!= "6") && (lixo.charAt(k)!= "6") && (lixo.charAt(k)!= "7")&& (lixo.charAt(k)!= "8") && (lixo.charAt(k)!= "9") && (lixo.charAt(k)!= ",") && (lixo.charAt(k)!= ".")){
            retorno = retorno && false;
         }
         iTemp++;
      }

      if (iTemp <= 0) { retorno = false };
         retorno = !retorno;
         return retorno;
      }

   function ValidaNews(){
      var ExpReg1    = new RegExp("(@.*@)|(\\.\\.)|(@\\.)|(^\\.)");
      var ExpReg2    = new RegExp("^.+\\@(\\[?)[a-zA-Z0-9\\-\\.]+\\.([a-zA-Z]{2,3}|[0-9]{1,3})(\\]?)$");

      // Valida o Nome
      if (document.frmNewsletter.txtNome.value == ""){
         alert ("Por Favor , preencha o campo Nome.");      
         document.frmNewsletter.txtNome.focus();  
         return false;
      }

      // Valida o Email
      if (document.frmNewsletter.txtEmail.value == ""){
         alert ("Por Favor, preencha o campo Email.");      
         document.frmNewsletter.txtEmail.focus();  
         return false;
      }
      else
      {
         if (!(!ExpReg1.test(document.frmNewsletter.txtEmail.value) && ExpReg2.test(document.frmNewsletter.txtEmail.value))){
            alert ("Por Favor, preencha o campo E-mail\ncom um e-mail válido.");
            document.frmNewsletter.txtEmail.focus();
            document.frmNewsletter.txtEmail.blur();
            document.frmNewsletter.txtEmail.select();
            delete ExpReg1;
            delete ExpReg2;
            return false;
         }	  	
      }
   }
//-->
   