function formatar(src, mask) 
{
  var i = src.value.length;
  var saida = mask.substring(0,1);
  var texto = mask.substring(i)
if (texto.substring(0,1) != saida) 
  {
	src.value += texto.substring(0,1);
  }
}

function check_rodo()
{
    if (document.frm_rodo.Pacote.value == "")
	{
    alert('Por Favor, Escolha o Pacote Rodoviário.');
    document.frm_rodo.Pacote.focus()
    return false;
	}
   if (document.frm_rodo.Nome.value == "")
	{
    alert('Por Favor, Digite seu Nome.');
    document.frm_rodo.Nome.focus()
    return false;
	}
	 if (document.frm_rodo.RG.value == "")
	{
    alert('Por Favor, Digite seu RG.');
    document.frm_rodo.RG.focus()
    return false;
	}
	 if (document.frm_rodo.CPF.value == "")
	{
    alert('Por Favor, Digite seu CPF.');
    document.frm_rodo.CPF.focus()
    return false;
	}
    if (document.frm_rodo.Cidade.value == "")
	{
    alert('Por Favor, Digite sua Cidade.');
    document.frm_rodo.Cidade.focus()
    return false;
	}
	if (document.frm_rodo.Pais.value == "")
	{
    alert('Por Favor, Digite seu País.');
    document.frm_rodo.Pais.focus()
    return false;
	}
	if ((document.frm_rodo.Fone.value == "") && (document.frm_rodo.Cel.value == ""))
	{
    alert('Por Favor, Digite seu Telefone ou Celular.');
    document.frm_rodo.Fone.focus()
    return false;
	}
if (document.frm_rodo.Email.value == "") {
			alert('Por Favor, Digite seu E-mail.');
			document.frm_rodo.Email.focus();
			return false;
		} 
		else 
		{
			prim = document.frm_rodo.Email.value.indexOf("@")
			if(prim < 2) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_rodo.Email.focus();
				document.frm_rodo.Email.select();
				return false;
			}
			if(document.frm_rodo.Email.value.indexOf("@",prim + 1) != -1) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_rodo.Email.focus();
				document.frm_rodo.Email.select();
				return false;
			}
			if(document.frm_rodo.Email.value.indexOf(".") < 1) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_rodo.Email.focus();
				document.frm_rodo.Email.select();
				return false;
			}
			if(document.frm_rodo.Email.value.indexOf(" ") != -1) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_rodo.Email.focus();
				document.frm_rodo.Email.select();
				return false;
			}
			if(document.frm_rodo.Email.value.indexOf(".@") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_rodo.Email.focus();
				document.frm_rodo.Email.select();
				return false;
			}
			if(document.frm_rodo.Email.value.indexOf("@.") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_rodo.Email.focus();
				document.frm_rodo.Email.select();
				return false;
			}
			if(document.frm_rodo.Email.value.indexOf(".com.br.") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_rodo.Email.focus();
				document.frm_rodo.Email.select();
				return false;
			}
			if(document.frm_rodo.Email.value.indexOf("/") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_rodo.Email.focus();
				document.frm_rodo.Email.select();
				return false;
			}
			if(document.frm_rodo.Email.value.indexOf("[") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_rodo.Email.focus();
				document.frm_rodo.Email.select();
				return false;
			}
			if(document.frm_rodo.Email.value.indexOf("]") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_rodo.Email.focus();
				document.frm_rodo.Email.select();
				return false;
			}
			if(document.frm_rodo.Email.value.indexOf("(") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_rodo.Email.focus();
				document.frm_rodo.Email.select();
				return false;
			}
			if(document.frm_rodo.Email.value.indexOf(")") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_rodo.Email.focus();
				document.frm_rodo.Email.select();
				return false;
			}

			if(document.frm_rodo.Email.value.indexOf("..") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_rodo.Email.focus();
				document.frm_rodo.Email.select();
				return false;
			}
		}
    if (document.frm_rodo.Data.value == "")
	{
    alert('Por Favor, Selecione a Data.');
    document.frm_rodo.Data.focus()
    return false;
	}
	return true;
	 }

function check_hotel()
{
    if (document.frm_hotel.Hotel.value == "")
	{
    alert('Por Favor, Escolha o Hotel.');
    document.frm_hotel.Hotel.focus()
    return false;
	}
   if (document.frm_hotel.Nome.value == "")
	{
    alert('Por Favor, Digite seu Nome.');
    document.frm_hotel.Nome.focus()
    return false;
	}
    if (document.frm_hotel.Cidade.value == "")
	{
    alert('Por Favor, Digite sua Cidade.');
    document.frm_hotel.Cidade.focus()
    return false;
	}
	if (document.frm_hotel.Pais.value == "")
	{
    alert('Por Favor, Digite seu País.');
    document.frm_hotel.Pais.focus()
    return false;
	}
	if ((document.frm_hotel.Fone.value == "") && (document.frm_hotel.Cel.value == ""))
	{
    alert('Por Favor, Digite seu Telefone ou Celular.');
    document.frm_hotel.Fone.focus()
    return false;
	}
if (document.frm_hotel.Email.value == "") {
			alert('Por Favor, Digite seu E-mail.');
			document.frm_hotel.Email.focus();
			return false;
		} 
		else 
		{
			prim = document.frm_hotel.Email.value.indexOf("@")
			if(prim < 2) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_hotel.Email.focus();
				document.frm_hotel.Email.select();
				return false;
			}
			if(document.frm_hotel.Email.value.indexOf("@",prim + 1) != -1) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_hotel.Email.focus();
				document.frm_hotel.Email.select();
				return false;
			}
			if(document.frm_hotel.Email.value.indexOf(".") < 1) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_hotel.Email.focus();
				document.frm_hotel.Email.select();
				return false;
			}
			if(document.frm_hotel.Email.value.indexOf(" ") != -1) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_hotel.Email.focus();
				document.frm_hotel.Email.select();
				return false;
			}
			if(document.frm_hotel.Email.value.indexOf(".@") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_hotel.Email.focus();
				document.frm_hotel.Email.select();
				return false;
			}
			if(document.frm_hotel.Email.value.indexOf("@.") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_hotel.Email.focus();
				document.frm_hotel.Email.select();
				return false;
			}
			if(document.frm_hotel.Email.value.indexOf(".com.br.") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_hotel.Email.focus();
				document.frm_hotel.Email.select();
				return false;
			}
			if(document.frm_hotel.Email.value.indexOf("/") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_hotel.Email.focus();
				document.frm_hotel.Email.select();
				return false;
			}
			if(document.frm_hotel.Email.value.indexOf("[") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_hotel.Email.focus();
				document.frm_hotel.Email.select();
				return false;
			}
			if(document.frm_hotel.Email.value.indexOf("]") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_hotel.Email.focus();
				document.frm_hotel.Email.select();
				return false;
			}
			if(document.frm_hotel.Email.value.indexOf("(") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_hotel.Email.focus();
				document.frm_hotel.Email.select();
				return false;
			}
			if(document.frm_hotel.Email.value.indexOf(")") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_hotel.Email.focus();
				document.frm_hotel.Email.select();
				return false;
			}

			if(document.frm_hotel.Email.value.indexOf("..") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_hotel.Email.focus();
				document.frm_hotel.Email.select();
				return false;
			}
		}
    if ((document.frm_hotel.NomeP01.value == "") && (document.frm_hotel.NomeP02.value == "") && (document.frm_hotel.NomeP03.value == "") && (document.frm_hotel.NomeP04.value == "") && (document.frm_hotel.NomeP05.value == "") && (document.frm_hotel.NomeP06.value == "") && (document.frm_hotel.NomeP07.value == "") && (document.frm_hotel.NomeP08.value == "") && (document.frm_hotel.NomeP09.value == "") && (document.frm_hotel.NomeP10.value == ""))
	{
    alert('Por Favor, Digite ao menso 1 Nome de Passageiro.');
    document.frm_hotel.NomeP01.focus()
    return false;
	}
	if (document.frm_hotel.NomeP01.value != "")
	{
  		 if ((document.frm_hotel.Periodo01.value == "") || (document.frm_hotel.Periodo02.value == ""))
			{
  			  alert('Por Favor, Digite o Período do Passageiro 01.');
  			  document.frm_hotel.Periodo01.focus()
   			 return false;
			}
			if (document.frm_hotel.Tipo01.value == "") 
			{
  			  alert('Por Favor, Selecione o Tipo do Apartamento do Passageiro 01.');
  			  document.frm_hotel.Tipo01.focus()
   			 return false;
			}
	}
	if (document.frm_hotel.NomeP02.value != "")
	{
  		 if ((document.frm_hotel.Periodo012.value == "") || (document.frm_hotel.Periodo022.value == ""))
			{
  			  alert('Por Favor, Digite o Período do Passageiro 02.');
  			  document.frm_hotel.Periodo012.focus()
   			 return false;
			}
			if (document.frm_hotel.Tipo02.value == "") 
			{
  			  alert('Por Favor, Selecione o Tipo do Apartamento do Passageiro 02.');
  			  document.frm_hotel.Tipo02.focus()
   			 return false;
			}
	}
	if (document.frm_hotel.NomeP03.value != "")
	{
  		 if ((document.frm_hotel.Periodo013.value == "") || (document.frm_hotel.Periodo023.value == ""))
			{
  			  alert('Por Favor, Digite o Período do Passageiro 03.');
  			  document.frm_hotel.Periodo013.focus()
   			 return false;
			}
			if (document.frm_hotel.Tipo03.value == "") 
			{
  			  alert('Por Favor, Selecione o Tipo do Apartamento do Passageiro 03.');
  			  document.frm_hotel.Tipo03.focus()
   			 return false;
			}
	}
	if (document.frm_hotel.NomeP04.value != "")
	{
  		 if ((document.frm_hotel.Periodo014.value == "") || (document.frm_hotel.Periodo024.value == ""))
			{
  			  alert('Por Favor, Digite o Período do Passageiro 04.');
  			  document.frm_hotel.Periodo014.focus()
   			 return false;
			}
			if (document.frm_hotel.Tipo04.value == "") 
			{
  			  alert('Por Favor, Selecione o Tipo do Apartamento do Passageiro 04.');
  			  document.frm_hotel.Tipo04.focus()
   			 return false;
			}
	}
	if (document.frm_hotel.NomeP05.value != "")
	{
  		 if ((document.frm_hotel.Periodo015.value == "") || (document.frm_hotel.Periodo025.value == ""))
			{
  			  alert('Por Favor, Digite o Período do Passageiro 05.');
  			  document.frm_hotel.Periodo015.focus()
   			 return false;
			}
			if (document.frm_hotel.Tipo05.value == "") 
			{
  			  alert('Por Favor, Selecione o Tipo do Apartamento do Passageiro 05.');
  			  document.frm_hotel.Tipo04.focus()
   			 return false;
			}
	}
	if (document.frm_hotel.NomeP06.value != "")
	{
  		 if ((document.frm_hotel.Periodo016.value == "") || (document.frm_hotel.Periodo026.value == ""))
			{
  			  alert('Por Favor, Digite o Período do Passageiro 06.');
  			  document.frm_hotel.Periodo016.focus()
   			 return false;
			}
			if (document.frm_hotel.Tipo06.value == "") 
			{
  			  alert('Por Favor, Selecione o Tipo do Apartamento do Passageiro 06.');
  			  document.frm_hotel.Tipo06.focus()
   			 return false;
			}
	}
	if (document.frm_hotel.NomeP07.value != "")
	{
  		 if ((document.frm_hotel.Periodo017.value == "") || (document.frm_hotel.Periodo027.value == ""))
			{
  			  alert('Por Favor, Digite o Período do Passageiro 07.');
  			  document.frm_hotel.Periodo017.focus()
   			 return false;
			}
			if (document.frm_hotel.Tipo07.value == "") 
			{
  			  alert('Por Favor, Selecione o Tipo do Apartamento do Passageiro 07.');
  			  document.frm_hotel.Tipo07.focus()
   			 return false;
			}
	}
	if (document.frm_hotel.NomeP08.value != "")
	{
  		 if ((document.frm_hotel.Periodo018.value == "") || (document.frm_hotel.Periodo028.value == ""))
			{
  			  alert('Por Favor, Digite o Período do Passageiro 08.');
  			  document.frm_hotel.Periodo018.focus()
   			 return false;
			}
			if (document.frm_hotel.Tipo08.value == "") 
			{
  			  alert('Por Favor, Selecione o Tipo do Apartamento do Passageiro 08.');
  			  document.frm_hotel.Tipo08.focus()
   			 return false;
			}
	}
	if (document.frm_hotel.NomeP09.value != "")
	{
  		 if ((document.frm_hotel.Periodo019.value == "") || (document.frm_hotel.Periodo029.value == ""))
			{
  			  alert('Por Favor, Digite o Período do Passageiro 09.');
  			  document.frm_hotel.Periodo019.focus()
   			 return false;
			}
			if (document.frm_hotel.Tipo09.value == "") 
			{
  			  alert('Por Favor, Selecione o Tipo do Apartamento do Passageiro 09.');
  			  document.frm_hotel.Tipo09.focus()
   			 return false;
			}
	}
	if (document.frm_hotel.NomeP10.value != "")
	{
  		 if ((document.frm_hotel.Periodo0110.value == "") || (document.frm_hotel.Periodo0210.value == ""))
			{
  			  alert('Por Favor, Digite o Período do Passageiro 10.');
  			  document.frm_hotel.Periodo0110.focus()
   			 return false;
			}
			if (document.frm_hotel.Tipo10.value == "") 
			{
  			  alert('Por Favor, Selecione o Tipo do Apartamento do Passageiro 10.');
  			  document.frm_hotel.Tipo10.focus()
   			 return false;
			}
	}
	if ((document.frm_hotel.transfer[0].checked == false) && (document.frm_hotel.transfer[1].checked == false))
	{
    alert('Por Favor, Selecione a opção de Transfer.');
    return false;
	}
	return true;
	 }

function check_pacote()
{
    if (document.frm_pacote.Pacote.value == "")
	{
    alert('Por Favor, Escolha o Pacote.');
    document.frm_pacote.Pacote.focus()
    return false;
	}
	 if (document.frm_pacote.PacoteTipo.value == "")
	{
    alert('Por Favor, Selecione o Tipo do Pacote.');
    document.frm_pacote.PacoteTipo.focus()
    return false;
	}
   if (document.frm_pacote.Hotel.value == "")
	{
    alert('Por Favor, Selecione o Hotel.');
    document.frm_pacote.Hotel.focus()
    return false;
	}
   if (document.frm_pacote.Nome.value == "")
	{
    alert('Por Favor, Digite seu Nome.');
    document.frm_pacote.Nome.focus()
    return false;
	}
    if (document.frm_pacote.Cidade.value == "")
	{
    alert('Por Favor, Digite sua Cidade.');
    document.frm_pacote.Cidade.focus()
    return false;
	}
	if (document.frm_pacote.Pais.value == "")
	{
    alert('Por Favor, Digite seu País.');
    document.frm_pacote.Pais.focus()
    return false;
	}
	if ((document.frm_pacote.Fone.value == "") && (document.frm_pacote.Cel.value == ""))
	{
    alert('Por Favor, Digite seu Telefone ou Celular.');
    document.frm_pacote.Fone.focus()
    return false;
	}
if (document.frm_pacote.Email.value == "") {
			alert('Por Favor, Digite seu E-mail.');
			document.frm_pacote.Email.focus();
			return false;
		} 
		else 
		{
			prim = document.frm_pacote.Email.value.indexOf("@")
			if(prim < 2) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_pacote.Email.focus();
				document.frm_pacote.Email.select();
				return false;
			}
			if(document.frm_pacote.Email.value.indexOf("@",prim + 1) != -1) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_pacote.Email.focus();
				document.frm_pacote.Email.select();
				return false;
			}
			if(document.frm_pacote.Email.value.indexOf(".") < 1) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_pacote.Email.focus();
				document.frm_pacote.Email.select();
				return false;
			}
			if(document.frm_pacote.Email.value.indexOf(" ") != -1) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_pacote.Email.focus();
				document.frm_pacote.Email.select();
				return false;
			}
			if(document.frm_pacote.Email.value.indexOf(".@") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_pacote.Email.focus();
				document.frm_pacote.Email.select();
				return false;
			}
			if(document.frm_pacote.Email.value.indexOf("@.") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_pacote.Email.focus();
				document.frm_pacote.Email.select();
				return false;
			}
			if(document.frm_pacote.Email.value.indexOf(".com.br.") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_pacote.Email.focus();
				document.frm_pacote.Email.select();
				return false;
			}
			if(document.frm_pacote.Email.value.indexOf("/") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_pacote.Email.focus();
				document.frm_pacote.Email.select();
				return false;
			}
			if(document.frm_pacote.Email.value.indexOf("[") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_pacote.Email.focus();
				document.frm_pacote.Email.select();
				return false;
			}
			if(document.frm_pacote.Email.value.indexOf("]") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_pacote.Email.focus();
				document.frm_pacote.Email.select();
				return false;
			}
			if(document.frm_pacote.Email.value.indexOf("(") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_pacote.Email.focus();
				document.frm_pacote.Email.select();
				return false;
			}
			if(document.frm_pacote.Email.value.indexOf(")") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_pacote.Email.focus();
				document.frm_pacote.Email.select();
				return false;

			}

			if(document.frm_pacote.Email.value.indexOf("..") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_pacote.Email.focus();
				document.frm_pacote.Email.select();
				return false;
			}
		}
       if ((document.frm_pacote.NomeP01.value == "") && (document.frm_pacote.NomeP02.value == "") && (document.frm_pacote.NomeP03.value == "") && (document.frm_pacote.NomeP04.value == "") && (document.frm_pacote.NomeP05.value == "") && (document.frm_pacote.NomeP06.value == "") && (document.frm_pacote.NomeP07.value == "") && (document.frm_pacote.NomeP08.value == "") && (document.frm_pacote.NomeP09.value == "") && (document.frm_pacote.NomeP10.value == ""))
	{
    alert('Por Favor, Digite ao menso 1 Nome de Passageiro.');
    document.frm_pacote.NomeP01.focus()
    return false;
	}
	if (document.frm_pacote.NomeP01.value != "")
	{
  			if (document.frm_pacote.Tipo01.value == "") 
			{
  			  alert('Por Favor, Selecione o Tipo do Apartamento do Passageiro 01.');
  			  document.frm_pacote.Tipo01.focus()
   			 return false;
			}
	}
	if (document.frm_pacote.NomeP02.value != "")
	{
  			if (document.frm_pacote.Tipo02.value == "") 
			{
  			  alert('Por Favor, Selecione o Tipo do Apartamento do Passageiro 02.');
  			  document.frm_pacote.Tipo02.focus()
   			 return false;
			}
	}
	if (document.frm_pacote.NomeP03.value != "")
	{
  		 if (document.frm_pacote.Tipo03.value == "") 
			{
  			  alert('Por Favor, Selecione o Tipo do Apartamento do Passageiro 03.');
  			  document.frm_pacote.Tipo03.focus()
   			 return false;
			}
	}
	if (document.frm_pacote.NomeP04.value != "")
	{
  		if (document.frm_pacote.Tipo04.value == "") 
			{
  			  alert('Por Favor, Selecione o Tipo do Apartamento do Passageiro 04.');
  			  document.frm_pacote.Tipo04.focus()
   			 return false;
			}
	}
	if (document.frm_pacote.NomeP05.value != "")
	{
  		if (document.frm_pacote.Tipo05.value == "") 
			{
  			  alert('Por Favor, Selecione o Tipo do Apartamento do Passageiro 05.');
  			  document.frm_pacote.Tipo04.focus()
   			 return false;
			}
	}
	if (document.frm_pacote.NomeP06.value != "")
	{
  		if (document.frm_pacote.Tipo06.value == "") 
			{
  			  alert('Por Favor, Selecione o Tipo do Apartamento do Passageiro 06.');
  			  document.frm_pacote.Tipo06.focus()
   			 return false;
			}
	}
	if (document.frm_pacote.NomeP07.value != "")
	{
  		if (document.frm_pacote.Tipo07.value == "") 
			{
  			  alert('Por Favor, Selecione o Tipo do Apartamento do Passageiro 07.');
  			  document.frm_pacote.Tipo07.focus()
   			 return false;
			}
	}
	if (document.frm_pacote.NomeP08.value != "")
	{
  		 if (document.frm_pacote.Tipo08.value == "") 
			{
  			  alert('Por Favor, Selecione o Tipo do Apartamento do Passageiro 08.');
  			  document.frm_pacote.Tipo08.focus()
   			 return false;
			}
	}
	if (document.frm_pacote.NomeP09.value != "")
	{
  		 if (document.frm_pacote.Tipo09.value == "") 
			{
  			  alert('Por Favor, Selecione o Tipo do Apartamento do Passageiro 09.');
  			  document.frm_pacote.Tipo09.focus()
   			 return false;
			}
	}
	if (document.frm_pacote.NomeP10.value != "")
	{
  		 if (document.frm_pacote.Tipo10.value == "") 
			{
  			  alert('Por Favor, Selecione o Tipo do Apartamento do Passageiro 10.');
  			  document.frm_pacote.Tipo10.focus()
   			 return false;
			}
	}
	if ((document.frm_pacote.transporte[0].checked == false) && (document.frm_pacote.transporte[1].checked == false))
	{
    alert('Por Favor, Selecione a opção de Transporte.');
    return false;
	}
	if ((document.frm_pacote.transfer[0].checked == false) && (document.frm_pacote.transfer[1].checked == false))
	{
    alert('Por Favor, Selecione a opção de Transfer.');
    return false;
	}
	return true;
	 }


function check_atrativos()
{
    if (document.frm_atrativos.Atrativo.value == "")
	{
    alert('Por Favor, Escolha o Atrativo.');
    document.frm_atrativos.Atrativo.focus()
    return false;
	}
   if (document.frm_atrativos.Nome.value == "")
	{
    alert('Por Favor, Digite seu Nome.');
    document.frm_atrativos.Nome.focus()
    return false;
	}
    if (document.frm_atrativos.Cidade.value == "")
	{
    alert('Por Favor, Digite sua Cidade.');
    document.frm_atrativos.Cidade.focus()
    return false;
	}
	if (document.frm_atrativos.Pais.value == "")
	{
    alert('Por Favor, Digite seu País.');
    document.frm_atrativos.Pais.focus()
    return false;
	}
	if ((document.frm_atrativos.Fone.value == "") && (document.frm_atrativos.Cel.value == ""))
	{
    alert('Por Favor, Digite seu Telefone ou Celular.');
    document.frm_atrativos.Fone.focus()
    return false;
	}
if (document.frm_atrativos.Email.value == "") {
			alert('Por Favor, Digite seu E-mail.');
			document.frm_atrativos.Email.focus();
			return false;
		} 
		else 
		{
			prim = document.frm_atrativos.Email.value.indexOf("@")
			if(prim < 2) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_atrativos.Email.focus();
				document.frm_atrativos.Email.select();
				return false;
			}
			if(document.frm_atrativos.Email.value.indexOf("@",prim + 1) != -1) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_atrativos.Email.focus();
				document.frm_atrativos.Email.select();
				return false;
			}
			if(document.frm_atrativos.Email.value.indexOf(".") < 1) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_atrativos.Email.focus();
				document.frm_atrativos.Email.select();
				return false;
			}
			if(document.frm_atrativos.Email.value.indexOf(" ") != -1) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_atrativos.Email.focus();
				document.frm_atrativos.Email.select();
				return false;
			}
			if(document.frm_atrativos.Email.value.indexOf(".@") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_atrativos.Email.focus();
				document.frm_atrativos.Email.select();
				return false;
			}
			if(document.frm_atrativos.Email.value.indexOf("@.") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_atrativos.Email.focus();
				document.frm_atrativos.Email.select();
				return false;
			}
			if(document.frm_atrativos.Email.value.indexOf(".com.br.") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_atrativos.Email.focus();
				document.frm_atrativos.Email.select();
				return false;
			}
			if(document.frm_atrativos.Email.value.indexOf("/") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_atrativos.Email.focus();
				document.frm_atrativos.Email.select();
				return false;
			}
			if(document.frm_atrativos.Email.value.indexOf("[") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_atrativos.Email.focus();
				document.frm_atrativos.Email.select();
				return false;
			}
			if(document.frm_atrativos.Email.value.indexOf("]") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_atrativos.Email.focus();
				document.frm_atrativos.Email.select();
				return false;
			}
			if(document.frm_atrativos.Email.value.indexOf("(") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_atrativos.Email.focus();
				document.frm_atrativos.Email.select();
				return false;
			}
			if(document.frm_atrativos.Email.value.indexOf(")") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_atrativos.Email.focus();
				document.frm_atrativos.Email.select();
				return false;
			}

			if(document.frm_atrativos.Email.value.indexOf("..") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_atrativos.Email.focus();
				document.frm_atrativos.Email.select();
				return false;
			}
		}
    if (document.frm_atrativos.Qtde.value == "")
	{
    alert('Por Favor, Digite a Quantidade de Pessoas.');
    document.frm_atrativos.Qtde.focus()
    return false;
	}
	  if (document.frm_atrativos.Hotel.value == "")
	{
    alert('Por Favor, Digite o Hotel em que está Hospedado.');
    document.frm_atrativos.Hotel.focus()
    return false ;
	}
		return true;
	 }

function check_locacao()
{
    if (document.frm_locacao.Nome.value == "")
	{
    alert('Por Favor, Digite seu Nome.');
    document.frm_locacao.Nome.focus()
    return false;
	}
    if (document.frm_locacao.Nascimento.value == "")
	{
    alert('Por Favor, Digite a Data de Nascimento.');
    document.frm_locacao.Nascimento.focus()
    return false;
	}
    if (document.frm_locacao.RG.value == "")
	{
    alert('Por Favor, Digite seu RG.');
    document.frm_locacao.RG.focus()
    return false;
	}
	 if (document.frm_locacao.Habilitacao.value == "")
	{
    alert('Por Favor, Digite o Nº da sua Habilitação.');
    document.frm_locacao.Habilitacao.focus()
    return false;
	}
	 if (document.frm_locacao.Cidade.value == "")
	{
    alert('Por Favor, Digite sua Cidade.');
    document.frm_locacao.Cidade.focus()
    return false;
	}
	if (document.frm_locacao.Pais.value == "")
	{
    alert('Por Favor, Digite seu País.');
    document.frm_locacao.Pais.focus()
    return false;
	}
	if ((document.frm_locacao.Fone.value == "") && (document.frm_locacao.Cel.value == ""))
	{
    alert('Por Favor, Digite seu Telefone ou Celular.');
    document.frm_locacao.Fone.focus()
    return false;
	}
if (document.frm_locacao.Email.value == "") {
			alert('Por Favor, Digite seu E-mail.');
			document.frm_locacao.Email.focus();
			return false;
		} 
		else 
		{
			prim = document.frm_locacao.Email.value.indexOf("@")
			if(prim < 2) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_locacao.Email.focus();
				document.frm_locacao.Email.select();
				return false;
			}
			if(document.frm_locacao.Email.value.indexOf("@",prim + 1) != -1) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_locacao.Email.focus();
				document.frm_locacao.Email.select();
				return false;
			}
			if(document.frm_locacao.Email.value.indexOf(".") < 1) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_locacao.Email.focus();
				document.frm_locacao.Email.select();
				return false;
			}
			if(document.frm_locacao.Email.value.indexOf(" ") != -1) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_locacao.Email.focus();
				document.frm_locacao.Email.select();
				return false;
			}
			if(document.frm_locacao.Email.value.indexOf(".@") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_locacao.Email.focus();
				document.frm_locacao.Email.select();
				return false;
			}
			if(document.frm_locacao.Email.value.indexOf("@.") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_locacao.Email.focus();
				document.frm_locacao.Email.select();
				return false;
			}
			if(document.frm_locacao.Email.value.indexOf(".com.br.") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_locacao.Email.focus();
				document.frm_locacao.Email.select();
				return false;
			}
			if(document.frm_locacao.Email.value.indexOf("/") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_locacao.Email.focus();
				document.frm_locacao.Email.select();
				return false;
			}
			if(document.frm_locacao.Email.value.indexOf("[") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_locacao.Email.focus();
				document.frm_locacao.Email.select();
				return false;
			}
			if(document.frm_locacao.Email.value.indexOf("]") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_locacao.Email.focus();
				document.frm_locacao.Email.select();
				return false;
			}
			if(document.frm_locacao.Email.value.indexOf("(") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_locacao.Email.focus();
				document.frm_locacao.Email.select();
				return false;
			}
			if(document.frm_locacao.Email.value.indexOf(")") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_locacao.Email.focus();
				document.frm_locacao.Email.select();
				return false;
			}

			if(document.frm_locacao.Email.value.indexOf("..") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_locacao.Email.focus();
				document.frm_locacao.Email.select();
				return false;
			}
		}
    if (document.frm_locacao.DataChegada.value == "")
	{
    alert('Por Favor, Digite a Data de Chegada.');
    document.frm_locacao.DataChegada.focus()
    return false;
	}
	  if (document.frm_locacao.VooChegada.value == "")
	{
    alert('Por Favor, Digite o Vôo de Chegada.');
    document.frm_locacao.VooChegada.focus()
    return false ;
	}
	if (document.frm_locacao.DataSaida.value == "")
	{
    alert('Por Favor, Digite a Data de Saída.');
    document.frm_locacao.DataSaida.focus()
    return false;
	}
	  if (document.frm_locacao.VooSaida.value == "")
	{
    alert('Por Favor, Digite o Vôo de Saída.');
    document.frm_locacao.VooSaida.focus()
    return false ;
	}
	  if (document.frm_locacao.Categoria.value == "")
	{
    alert('Por Favor, Selecione a Categoria.');
    document.frm_locacao.Categoria.focus()
    return false ;
	}
		return true;
	 }


function check_amigo()
{
    if (document.frm_amigo.Nome.value == "")
	{
    alert('Por Favor, Digite seu Nome.');
    document.frm_amigo.Nome.focus()
    return false;
	}
	if (document.frm_amigo.Email.value == "") {
			alert('Por Favor, Digite seu E-mail.');
			document.frm_amigo.Email.focus();
			return false;
		} 
		else 
		{
			prim = document.frm_amigo.Email.value.indexOf("@")
			if(prim < 2) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_amigo.Email.focus();
				document.frm_amigo.Email.select();
				return false;
			}
			if(document.frm_amigo.Email.value.indexOf("@",prim + 1) != -1) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_amigo.Email.focus();
				document.frm_amigo.Email.select();
				return false;
			}
			if(document.frm_amigo.Email.value.indexOf(".") < 1) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_amigo.Email.focus();
				document.frm_amigo.Email.select();
				return false;
			}
			if(document.frm_amigo.Email.value.indexOf(" ") != -1) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_amigo.Email.focus();
				document.frm_amigo.Email.select();
				return false;
			}
			if(document.frm_amigo.Email.value.indexOf(".@") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_amigo.Email.focus();
				document.frm_amigo.Email.select();
				return false;
			}
			if(document.frm_amigo.Email.value.indexOf("@.") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_amigo.Email.focus();
				document.frm_amigo.Email.select();
				return false;
			}
			if(document.frm_amigo.Email.value.indexOf(".com.br.") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_amigo.Email.focus();
				document.frm_amigo.Email.select();
				return false;
			}
			if(document.frm_amigo.Email.value.indexOf("/") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_amigo.Email.focus();
				document.frm_amigo.Email.select();
				return false;
			}
			if(document.frm_amigo.Email.value.indexOf("[") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_amigo.Email.focus();
				document.frm_amigo.Email.select();
				return false;
			}
			if(document.frm_amigo.Email.value.indexOf("]") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_amigo.Email.focus();
				document.frm_amigo.Email.select();
				return false;
			}
			if(document.frm_amigo.Email.value.indexOf("(") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_amigo.Email.focus();
				document.frm_amigo.Email.select();
				return false;
			}
			if(document.frm_amigo.Email.value.indexOf(")") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_amigo.Email.focus();
				document.frm_amigo.Email.select();
				return false;
			}
			if(document.frm_amigo.Email.value.indexOf("..") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_amigo.Email.focus();
				document.frm_amigo.Email.select();
				return false;
			}
		}
    if (document.frm_amigo.NomeAmigo.value == "")
	{
    alert('Por Favor, Digite o Nome do Amigo.');
    document.frm_amigo.NomeAmigo.focus()
    return false;
	}
	if (document.frm_amigo.Email.value == "") {
			alert('Por Favor, Digite seu E-mail.');
			document.frm_amigo.Email.focus();
			return false;
		} 
		else 
		{
			prim = document.frm_amigo.Email.value.indexOf("@")
			if(prim < 2) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_amigo.Email.focus();
				document.frm_amigo.Email.select();
				return false;
			}
			if(document.frm_amigo.Email.value.indexOf("@",prim + 1) != -1) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_amigo.Email.focus();
				document.frm_amigo.Email.select();
				return false;
			}
			if(document.frm_amigo.Email.value.indexOf(".") < 1) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_amigo.Email.focus();
				document.frm_amigo.Email.select();
				return false;
			}
			if(document.frm_amigo.Email.value.indexOf(" ") != -1) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_amigo.Email.focus();
				document.frm_amigo.Email.select();
				return false;
			}
			if(document.frm_amigo.Email.value.indexOf(".@") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_amigo.Email.focus();
				document.frm_amigo.Email.select();
				return false;
			}
			if(document.frm_amigo.Email.value.indexOf("@.") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_amigo.Email.focus();
				document.frm_amigo.Email.select();
				return false;
			}
			if(document.frm_amigo.Email.value.indexOf(".com.br.") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_amigo.Email.focus();
				document.frm_amigo.Email.select();
				return false;
			}
			if(document.frm_amigo.Email.value.indexOf("/") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_amigo.Email.focus();
				document.frm_amigo.Email.select();
				return false;
			}
			if(document.frm_amigo.Email.value.indexOf("[") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_amigo.Email.focus();
				document.frm_amigo.Email.select();
				return false;
			}
			if(document.frm_amigo.Email.value.indexOf("]") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_amigo.Email.focus();
				document.frm_amigo.Email.select();
				return false;
			}
			if(document.frm_amigo.Email.value.indexOf("(") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_amigo.Email.focus();
				document.frm_amigo.Email.select();
				return false;
			}
			if(document.frm_amigo.Email.value.indexOf(")") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_amigo.Email.focus();
				document.frm_amigo.Email.select();
				return false;
			}
			if(document.frm_amigo.Email.value.indexOf("..") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.frm_amigo.Email.focus();
				document.frm_amigo.Email.select();
				return false;
			}
		}
		return true;
	 }


function mostraDescritivo(id) {
  var mostra = document.getElementById(id);

  if (mostra.style.display=='none') {
   mostra.style.display='';
  } else {
   mostra.style.display='none'
  }

}

function check_contato()
{
    if (document.contato.Nome.value == "")
	{
    alert('Por Favor, Digite seu Nome.');
    document.contato.Nome.focus()
    return false;
	}
	if (document.contato.Email.value == "") {
			alert('Por Favor, Digite seu E-mail.');
			document.contato.Email.focus();
			return false;
		} 
		else 
		{
			prim = document.contato.Email.value.indexOf("@")
			if(prim < 2) {
				alert("O e-mail informado parece não estar correto.");
				document.contato.Email.focus();
				document.contato.Email.select();
				return false;
			}
			if(document.contato.Email.value.indexOf("@",prim + 1) != -1) {
				alert("O e-mail informado parece não estar correto.");
				document.contato.Email.focus();
				document.contato.Email.select();
				return false;
			}
			if(document.contato.Email.value.indexOf(".") < 1) {
				alert("O e-mail informado parece não estar correto.");
				document.contato.Email.focus();
				document.contato.Email.select();
				return false;
			}
			if(document.contato.Email.value.indexOf(" ") != -1) {
				alert("O e-mail informado parece não estar correto.");
				document.contato.Email.focus();
				document.contato.Email.select();
				return false;
			}
			if(document.contato.Email.value.indexOf(".@") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.contato.Email.focus();
				document.contato.Email.select();
				return false;
			}
			if(document.contato.Email.value.indexOf("@.") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.contato.Email.focus();
				document.contato.Email.select();
				return false;
			}
			if(document.contato.Email.value.indexOf(".com.br.") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.contato.Email.focus();
				document.contato.Email.select();
				return false;
			}
			if(document.contato.Email.value.indexOf("/") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.contato.Email.focus();
				document.contato.Email.select();
				return false;
			}
			if(document.contato.Email.value.indexOf("[") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.contato.Email.focus();
				document.contato.Email.select();
				return false;
			}
			if(document.contato.Email.value.indexOf("]") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.contato.Email.focus();
				document.contato.Email.select();
				return false;
			}
			if(document.contato.Email.value.indexOf("(") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.contato.Email.focus();
				document.contato.Email.select();
				return false;
			}
			if(document.contato.Email.value.indexOf(")") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.contato.Email.focus();
				document.contato.Email.select();
				return false;
			}
			if(document.contato.Email.value.indexOf("..") > 0) {
				alert("O e-mail informado parece não estar correto.");
				document.contato.Email.focus();
				document.contato.Email.select();
				return false;
			}
		}
	  if (document.contato.Msg.value == "")
	{
    alert('Por Favor, Digite sua Mensagem.');
    document.contato.Msg.focus()
    return false ;
	}
	 return true;
	 }
	 
	 
 function check_busca()
{
    if (document.busca.q.value == "")
	{
    alert('Por Favor, Digite o Produto para Buscar.');
    document.busca.q.focus()
    return false;
	}
	 return true;
	 }
	 
	 
function check_reserva()
{
    if (document.frm_reserva.nome.value == "")
	{
    alert('Por Favor, Digite o Nome.');
    document.frm_reserva.nome.focus()
    return false;
	}
	  if (document.frm_reserva.cnpjcpf.value == "")
	{
    alert('Por Favor, Digite o CNPJ ou CPF.');
    document.frm_reserva.cnpjcpf.focus()
    return false ;
	}
	  if (document.frm_reserva.endereco.value == "")
	{
    alert('Por Favor, Digite o Endereço.');
    document.frm_reserva.endereco.focus()
    return false ;
	}
	  if (document.frm_reserva.cidade.value == "")
	{
    alert('Por Favor, Digite a Cidade.');
    document.frm_reserva.cidade.focus()
    return false ;
	}
	  if (document.frm_reserva.cep.value == "")
	{
    alert('Por Favor, Digite o CEP.');
    document.frm_reserva.cep.focus()
    return false ;
	}
	 if (document.frm_reserva.fone.value == "")
	{
    alert('Por Favor, Digite o Telefone.');
    document.frm_reserva.fone.focus()
    return false ;
	}
	 if (document.frm_reserva.email.value == "")
	{
    alert('Por Favor, Digite o E-mail.');
    document.frm_reserva.email.focus()
    return false ;
	}
	if (confirm("Confirma Solicitação de Reserva?\n")) 
	 {
    return true;
  	}
  return false ;
}
	