//VERIFICA CAMPOS DE INDIQUE
function verificaIndique(idIdioma)
{
	alert(value)
	if(document.formIndique.dsNome.value == '')
	{
		if (idIdioma == '')
			alert('Preencha o campo Nome!');
		if (idIdioma == 1)
			alert('Preencha o campo Nome!');
		if (idIdioma == 2)
			alert('Fill the name field!');
		if (idIdioma == 3)
			alert('Preencha o campo Nome!');
			
		document.formIndique.dsNome.focus();
		document.formIndique.dsNome.style.background = '#D5C7BF';
		return false;
	}
	
	if(document.formIndique.dsEmail.value == '')
	{
		if (idIdioma == '')
			alert('Preencha o campo E-mail!');
		if (idIdioma == 1)
			alert('Preencha o campo E-mail!');
		if (idIdioma == 2)
			alert('Fill the email field!');
		if (idIdioma == 3)
			alert('Preencha o campo E-mail!');
			
		document.formIndique.dsEmail.focus();
		document.formIndique.dsEmail.style.background = '#D5C7BF';
		return false;
	}
	else
	{
		if (/^([\w\.\-])+\@(([\w\-])+\.)+([\w ]{2,4})$/.test(document.formIndique.dsEmail.value) == false)   
		{
			if (idIdioma == '')
				alert("E-mail Inválido!");
			if (idIdioma == 1)
				alert("E-mail Inválido!");
			if (idIdioma == 2)
				alert("Invalid Email!");
			if (idIdioma == 3)
				alert("E-mail Inválido!");
			
			document.formIndique.dsEmail.select();
			document.formIndique.dsEmail.focus();
			document.formIndique.dsEmail.style.background = '#D5C7BF';
			return false;
		}
	}
	
	if(document.formIndique.dsNome2.value == '')
	{
		if (idIdioma == '')
			alert('Preencha o campo Nome!');
		if (idIdioma == 1)
			alert('Preencha o campo Nome!');
		if (idIdioma == 2)
			alert('Fill the name field!');
		if (idIdioma == 3)
			alert('Preencha o campo Nome!');
			
		document.formIndique.dsNome2.focus();
		document.formIndique.dsNome2.style.background = '#D5C7BF';
		return false;
	}
	
	if(document.formIndique.dsEmail2.value == '')
	{
		if (idIdioma == '')
			alert('Preencha o campo E-mail!');
		if (idIdioma == 1)
			alert('Preencha o campo E-mail!');
		if (idIdioma == 2)
			alert('Fill the email field!');
		if (idIdioma == 3)
			alert('Preencha o campo E-mail!');
			
		document.formIndique.dsEmail2.focus();
		document.formIndique.dsEmail2.style.background = '#D5C7BF';
		return false;
	}
	else
	{
		if (/^([\w\.\-])+\@(([\w\-])+\.)+([\w ]{2,4})$/.test(document.formIndique.dsEmail2.value) == false)   
		{
			if (idIdioma == '')
				alert("E-mail Inválido!");
			if (idIdioma == 1)
				alert("E-mail Inválido!");
			if (idIdioma == 2)
				alert("Invalid Email!");
			if (idIdioma == 3)
				alert("E-mail Inválido!");
			
			document.formIndique.dsEmail2.select();
			document.formIndique.dsEmail2.focus();
			document.formIndique.dsEmail2.style.background = '#D5C7BF';
			return false;
		}
	}
}



//VERIFICA CAMPOS DE E-MAIL
function verificaFranquia(idIdioma)
{
	if(document.formFranquia.dsNome.value == '')
	{
		if (idIdioma == '')
			alert('Preencha o campo Nome!');
		if (idIdioma == 1)
			alert('Preencha o campo Nome!');
		if (idIdioma == 2)
			alert('Fill the name field!');
		if (idIdioma == 3)
			alert('Preencha o campo Nome!');
			
		document.formFranquia.dsNome.focus();
		document.formFranquia.dsNome.style.background = '#D5C7BF';
		return false;
	}
	
	if(document.formFranquia.dsFone.value == '')
	{
		if (idIdioma == '')
			alert('Preencha o campo Telefone!');
		if (idIdioma == 1)
			alert('Preencha o campo Telefone!');
		if (idIdioma == 2)
			alert('Fill the Telephone field!');
		if (idIdioma == 3)
			alert('Preencha o campo Telefone!');
			
		document.formFranquia.dsFone.focus();
		document.formFranquia.dsFone.style.background = '#D5C7BF';
		return false;
	}

	if(document.formFranquia.dsEmail.value == '')
	{
		if (idIdioma == '')
			alert('Preencha o campo E-mail!');
		if (idIdioma == 1)
			alert('Preencha o campo E-mail!');
		if (idIdioma == 2)
			alert('Fill the email field!');
		if (idIdioma == 3)
			alert('Preencha o campo E-mail!');
			
		document.formFranquia.dsEmail.focus();
		document.formFranquia.dsEmail.style.background = '#D5C7BF';
		return false;
	}
	else
	{
		if (/^([\w\.\-])+\@(([\w\-])+\.)+([\w ]{2,4})$/.test(document.formFranquia.dsEmail.value) == false)   
		{
			if (idIdioma == '')
				alert("E-mail Inválido!");
			if (idIdioma == 1)
				alert("E-mail Inválido!");
			if (idIdioma == 2)
				alert("Invalid Email!");
			if (idIdioma == 3)
				alert("E-mail Inválido!");
			
			document.formFranquia.dsEmail.select();
			document.formFranquia.dsEmail.focus();
			document.formFranquia.dsEmail.style.background = '#D5C7BF';
			return false;
		}
	}
		
	if(document.formFranquia.dsEstado.value == '1')
	{
		if (idIdioma == '')
			alert('Selecione o campo Estado!');
		if (idIdioma == 1)
			alert('Selecione o campo Estado!');
		if (idIdioma == 2)
			alert('Select the State field!');
		if (idIdioma == 3)
			alert('Selecione o campo Estado!');
		
		document.formFranquia.dsEstado.focus();
		document.formFranquia.dsEstado.style.background = '#D5C7BF';
		return false;
	}


	if(document.formFranquia.dsCidade.value == '')
	{
		if (idIdioma == '')
			alert('Preencha o campo Cidade!');
		if (idIdioma == 1)
			alert('Preencha o campo Cidade!');
		if (idIdioma == 2)
			alert('Fill the City field!');
		if (idIdioma == 3)
			alert('Preencha o campo Cidade!');
		
		document.formFranquia.dsCidade.focus();
		document.formFranquia.dsCidade.style.background = '#D5C7BF';
		return false;
	}

	if(document.formFranquia.dsCidade2.value == '')
	{
		if (idIdioma == '')
			alert('Preencha o campo Cidade!');
		if (idIdioma == 1)
			alert('Preencha o campo Cidade!');
		if (idIdioma == 2)
			alert('Fill the City field!');
		if (idIdioma == 3)
			alert('Preencha o campo Cidade!');
		
		document.formFranquia.dsCidade2.focus();
		document.formFranquia.dsCidade2.style.background = '#D5C7BF';
		return false;
	}
	if(document.formFranquia.dsMensagem.value == '')
	{
		if (idIdioma == '')
			alert('Preencha o campo Mensagem!');
		if (idIdioma == 1)
			alert('Preencha o campo Mensagem!');
		if (idIdioma == 2)
			alert('Fill the Message field!');
		if (idIdioma == 3)
			alert('Preencha o campo Mensagem!');
		
		document.formFranquia.dsMensagem.focus();
		document.formFranquia.dsMensagem.style.background = '#D5C7BF';
		return false;
	}
}

//VERIFICA CAMPOS DE E-MAIL
function verificaCadastro(idIdioma)
{
	if(document.formCadastro.dsNome.value == '')
	{
		if (idIdioma == '')
			alert('Preencha o campo Nome!');
		if (idIdioma == 1)
			alert('Preencha o campo Nome!');
		if (idIdioma == 2)
			alert('Fill the name field!');
		if (idIdioma == 3)
			alert('Preencha o campo Nome!');
			
		document.formCadastro.dsNome.focus();
		document.formCadastro.dsNome.style.background = '#D5C7BF';
		return false;
	}

	if(document.formCadastro.dtNascimento.value == '')
	{
		if (idIdioma == '')
			alert('Preencha o campo Aniversário!');
		if (idIdioma == 1)
			alert('Preencha o campo Aniversário!');
		if (idIdioma == 2)
			alert('Fill the Birthday field!');
		if (idIdioma == 3)
			alert('Preencha o campo Aniversário!');
			
		document.formCadastro.dtNascimento.focus();
		document.formCadastro.dtNascimento.style.background = '#D5C7BF';
		return false;
	}

	if(document.formCadastro.dsSexo.value == '--')
	{
		if (idIdioma == '')
			alert('Preencha o campo Sexo!');
		if (idIdioma == 1)
			alert('Preencha o campo Sexo!');
		if (idIdioma == 2)
			alert('Fill the Sex field!');
		if (idIdioma == 3)
			alert('Preencha o campo Sexo!');
			
		document.formCadastro.dsSexo.focus();
		document.formCadastro.dsSexo.style.background = '#D5C7BF';
		return false;
	}
	
	if(document.formCadastro.dsEmail.value == '')
	{
		if (idIdioma == '')
			alert('Preencha o campo E-mail!');
		if (idIdioma == 1)
			alert('Preencha o campo E-mail!');
		if (idIdioma == 2)
			alert('Fill the email field!');
		if (idIdioma == 3)
			alert('Preencha o campo E-mail!');
			
		document.formCadastro.dsEmail.focus();
		document.formCadastro.dsEmail.style.background = '#D5C7BF';
		return false;
	}
	else
	{
		if (/^([\w\.\-])+\@(([\w\-])+\.)+([\w ]{2,4})$/.test(document.formCadastro.dsEmail.value) == false)   
		{
			if (idIdioma == '')
				alert("E-mail Inválido!");
			if (idIdioma == 1)
				alert("E-mail Inválido!");
			if (idIdioma == 2)
				alert("Invalid Email!");
			if (idIdioma == 3)
				alert("E-mail Inválido!");
			
			document.formCadastro.dsEmail.select();
			document.formCadastro.dsEmail.focus();
			document.formCadastro.dsEmail.style.background = '#D5C7BF';
			return false;
		}
	}

	if(document.formCadastro.dsFone.value == '')
	{
		if (idIdioma == '')
			alert('Preencha o campo Telefone!');
		if (idIdioma == 1)
			alert('Preencha o campo Telefone!');
		if (idIdioma == 2)
			alert('Fill the Telephone field!');
		if (idIdioma == 3)
			alert('Preencha o campo Telefone!');
			
		document.formCadastro.dsFone.focus();
		document.formCadastro.dsFone.style.background = '#D5C7BF';
		return false;
	}

	if(document.formCadastro.dsCep.value == '')
	{
		if (idIdioma == '')
			alert('Preencha o campo Cep!');
		if (idIdioma == 1)
			alert('Preencha o campo Cep!');
		if (idIdioma == 2)
			alert('Fill the Zip cod field!');
		if (idIdioma == 3)
			alert('Preencha o campo Cep!');
			
		document.formCadastro.dsCep.focus();
		document.formCadastro.dsCep.style.background = '#D5C7BF';
		return false;
	}

	if(document.formCadastro.dsEndereco.value == '')
	{
		if (idIdioma == '')
			alert('Preencha o campo Endereco!');
		if (idIdioma == 1)
			alert('Preencha o campo Endereco!');
		if (idIdioma == 2)
			alert('Fill the Adress field!');
		if (idIdioma == 3)
			alert('Preencha o campo Endereco!');
			
		document.formCadastro.dsEndereco.focus();
		document.formCadastro.dsEndereco.style.background = '#D5C7BF';
		return false;
	}

	if(document.formCadastro.nrEnd.value == '')
	{
		if (idIdioma == '')
			alert('Preencha o campo Número!');
		if (idIdioma == 1)
			alert('Preencha o campo Número!');
		if (idIdioma == 2)
			alert('Fill the Number field!');
		if (idIdioma == 3)
			alert('Preencha o campo Número!');
			
		document.formCadastro.nrEnd.focus();
		document.formCadastro.nrEnd.style.background = '#D5C7BF';
		return false;
	}


	if(document.formCadastro.dsCidade.value == '')
	{
		if (idIdioma == '')
			alert('Preencha o campo Cidade!');
		if (idIdioma == 1)
			alert('Preencha o campo Cidade!');
		if (idIdioma == 2)
			alert('Fill the City field!');
		if (idIdioma == 3)
			alert('Preencha o campo Cidade!');
		
		document.formCadastro.dsCidade.focus();
		document.formCadastro.dsCidade.style.background = '#D5C7BF';
		return false;
	}

	if(document.formCadastro.idEstado.value == '--')
	{
		if (idIdioma == '')
			alert('Preencha o campo Estado!');
		if (idIdioma == 1)
			alert('Preencha o campo Estado!');
		if (idIdioma == 2)
			alert('Fill the State field!');
		if (idIdioma == 3)
			alert('Preencha o campo Estado!');
		
		document.formCadastro.idEstado.focus();
		document.formCadastro.idEstado.style.background = '#D5C7BF';
		return false;
	}

	if(document.formCadastro.nrCalca.value == '')
	{
		if (idIdioma == '')
			alert('Preencha o campo número que calça!');
		if (idIdioma == 1)
			alert('Preencha o campo número que calça!');
		if (idIdioma == 2)
			alert('Fill the number do you use field!');
		if (idIdioma == 3)
			alert('Preencha o campo número que calça!');
		
		document.formCadastro.nrCalca.focus();
		document.formCadastro.nrCalca.style.background = '#D5C7BF';
		return false;
	}
	
	if(document.formCadastro.dsOpiniao1.value == '--')
	{
		if (idIdioma == '')
			alert('Preencha o campo selecionado!');
		if (idIdioma == 1)
			alert('Preencha o campo selecionado!');
		if (idIdioma == 2)
			alert('Fill the select field!');
		if (idIdioma == 3)
			alert('Preencha o campo selecionado!');
		
		document.formCadastro.dsOpiniao1.focus();
		document.formCadastro.dsOpiniao1.style.background = '#D5C7BF';
		return false;
	}
	
	if(document.formCadastro.dsOpiniao2.value == '--')
	{
		if (idIdioma == '')
			alert('Preencha o campo selecionado!');
		if (idIdioma == 1)
			alert('Preencha o campo selecionado!');
		if (idIdioma == 2)
			alert('Fill the select field!');
		if (idIdioma == 3)
			alert('Preencha o campo selecionado!');
		
		document.formCadastro.dsOpiniao2.focus();
		document.formCadastro.dsOpiniao2.style.background = '#D5C7BF';
		return false;
	}	
	if(document.formCadastro.dsOpiniao3.value == '--')
	{
		if (idIdioma == '')
			alert('Preencha o campo selecionado!');
		if (idIdioma == 1)
			alert('Preencha o campo selecionado!');
		if (idIdioma == 2)
			alert('Fill the select field!');
		if (idIdioma == 3)
			alert('Preencha o campo selecionado!');
		
		document.formCadastro.dsOpiniao3.focus();
		document.formCadastro.dsOpiniao3.style.background = '#D5C7BF';
		return false;
	}	
	
	if(document.formCadastro.dsOpiniao4.value == '--')
	{
		if (idIdioma == '')
			alert('Preencha o campo selecionado!');
		if (idIdioma == 1)
			alert('Preencha o campo selecionado!');
		if (idIdioma == 2)
			alert('Fill the select field!');
		if (idIdioma == 3)
			alert('Preencha o campo selecionado!');
		
		document.formCadastro.dsOpiniao4.focus();
		document.formCadastro.dsOpiniao4.style.background = '#D5C7BF';
		return false;
	}}


//VERIFICA CAMPOS DE E-MAIL
function verificaContato(idIdioma)
{
	if(document.formContato.dsNome.value == '')
	{
		if (idIdioma == '')
			alert('Preencha o campo Nome!');
		if (idIdioma == 1)
			alert('Preencha o campo Nome!');
		if (idIdioma == 2)
			alert('Fill the name field!');
		if (idIdioma == 3)
			alert('Preencha o campo Nome!');
			
		document.formContato.dsNome.focus();
		document.formContato.dsNome.style.background = '#D5C7BF';
		return false;
	}

	if(document.formContato.dsEmail.value == '')
	{
		if (idIdioma == '')
			alert('Preencha o campo E-mail!');
		if (idIdioma == 1)
			alert('Preencha o campo E-mail!');
		if (idIdioma == 2)
			alert('Fill the email field!');
		if (idIdioma == 3)
			alert('Preencha o campo E-mail!');
			
		document.formContato.dsEmail.focus();
		document.formContato.dsEmail.style.background = '#D5C7BF';
		return false;
	}
	else
	{
		if (/^([\w\.\-])+\@(([\w\-])+\.)+([\w ]{2,4})$/.test(document.formContato.dsEmail.value) == false)   
		{
			if (idIdioma == '')
				alert("E-mail Inválido!");
			if (idIdioma == 1)
				alert("E-mail Inválido!");
			if (idIdioma == 2)
				alert("Invalid Email!");
			if (idIdioma == 3)
				alert("E-mail Inválido!");
			
			document.formContato.dsEmail.select();
			document.formContato.dsEmail.focus();
			document.formContato.dsEmail.style.background = '#D5C7BF';
			return false;
		}
	}
		
	if(document.formContato.dsFone.value == '')
	{
		if (idIdioma == '')
			alert('Preencha o campo Telefone!');
		if (idIdioma == 1)
			alert('Preencha o campo Telefone!');
		if (idIdioma == 2)
			alert('Fill the telephone field!');
		if (idIdioma == 3)
			alert('Preencha o campo Telefone!');
		
		document.formContato.dsFone.focus();
		document.formContato.dsFone.style.background = '#D5C7BF';
		return false;
	}
		
	if(document.formContato.dsCidade.value == '')
	{
		if (idIdioma == '')
			alert('Preencha o campo Cidade!');
		if (idIdioma == 1)
			alert('Preencha o campo Cidade!');
		if (idIdioma == 2)
			alert('Fill the City field!');
		if (idIdioma == 3)
			alert('Preencha o campo Cidade!');
		
		document.formContato.dsCidade.focus();
		document.formContato.dsCidade.style.background = '#D5C7BF';
		return false;
	}
	
	if(document.formContato.dsAssunto.value == '')
	{
		if (idIdioma == '')
			alert('Preencha o campo Assunto!');
		if (idIdioma == 1)
			alert('Preencha o campo Assunto!');
		if (idIdioma == 2)
			alert('Fill the subject field!');
		if (idIdioma == 3)
			alert('Preencha o campo Assunto!');
		
		document.formContato.dsAssunto.focus();
		document.formContato.dsAssunto.style.background = '#D5C7BF';
		return false;
	}
	

	if(document.formContato.dsMensagem.value == '')
	{
		if (idIdioma == '')
			alert('Preencha o campo Mensagem!');
		if (idIdioma == 1)
			alert('Preencha o campo Mensagem!');
		if (idIdioma == 2)
			alert('Fill the message field!');
		if (idIdioma == 3)
			alert('Preencha o campo Mensagem!');
		
		document.formContato.dsMensagem.focus();
		document.formContato.dsMensagem.style.background = '#D5C7BF';
		return false;
	}
	
}



function verificaNews(idIdioma)
{
	if(document.formNews.dsNome.value == '')
	{
		if (idIdioma == '')
			alert('Preencha o campo Nome!');
		if (idIdioma == 1)
			alert('Preencha o campo Nome!');
		if (idIdioma == 2)
			alert('Fill the name field!');
		if (idIdioma == 3)
			alert('Preencha o campo Nome!');
			
		document.formNews.dsNome.focus();
		document.formNews.dsNome.style.background = '#D5C7BF';
		return false;
	}
	
	if(document.formNews.dsNome.value == ' nome' || document.formNews.dsNome.value == ' name')
	{
		if (idIdioma == '')
			alert('Preencha o campo Nome!');
		if (idIdioma == 1)
			alert('Preencha o campo Nome!');
		if (idIdioma == 2)
			alert('Fill the name field!');
		if (idIdioma == 3)
			alert('Preencha o campo Nome!');
			
		document.formNews.dsNome.focus();
		document.formNews.dsNome.style.background = '#D5C7BF';
		return false;
	}
	
	if(document.formNews.dsEmail.value == ' e-mail' || document.formNews.dsEmail.value == ' email')
	{
		if (idIdioma == '')
			alert('Preencha o campo E-mail!');
		if (idIdioma == 1)
			alert('Preencha o campo E-mail!');
		if (idIdioma == 2)
			alert('Fill the email field!');
		if (idIdioma == 3)
			alert('Preencha o campo E-mail!');
			
		document.formNews.dsEmail.focus();
		document.formNews.dsEmail.style.background = '#D5C7BF';
		return false;
	}

	if(document.formNews.dsEmail.value == '')
	{
		if (idIdioma == '')
			alert('Preencha o campo E-mail!');
		if (idIdioma == 1)
			alert('Preencha o campo E-mail!');
		if (idIdioma == 2)
			alert('Fill the email field!');
		if (idIdioma == 3)
			alert('Preencha o campo E-mail!');
			
		document.formNews.dsEmail.focus();
		document.formNews.dsEmail.style.background = '#D5C7BF';
		return false;
	}
	else
	{
		if (/^([\w\.\-])+\@(([\w\-])+\.)+([\w ]{2,4})$/.test(document.formNews.dsEmail.value) == false)   
		{ 
			if (idIdioma == '')
				alert("E-mail Inválido!");
			if (idIdioma == 1)
				alert("E-mail Inválido!");
			if (idIdioma == 2)
				alert("E-mail Inválido!");
			if (idIdioma == 3)
				alert("E-mail Inválido!");
				
			document.formNews.dsEmail.select();
			document.formNews.dsEmail.focus();
			document.formNews.dsEmail.style.background = '#D5C7BF';
			return false;
		}
	}
}



function verificaCurriculo(idIdioma)
{
	if(document.formCurriculo.dsNome.value == '')
	{
		if (idIdioma == '')
			alert('Preencha o campo Nome!');
		if (idIdioma == 1)
			alert('Preencha o campo Nome!');
		if (idIdioma == 2)
			alert('Fill the name field!');
		if (idIdioma == 3)
			alert('Preencha o campo Nome!');
			
		document.formCurriculo.dsNome.focus();
		document.formCurriculo.dsNome.style.background = '#D5C7BF';
		return false;
	}
	
	if(document.formCurriculo.dsNome.value == ' nome' || document.formCurriculo.dsNome.value == ' name')
	{
		if (idIdioma == '')
			alert('Preencha o campo Nome!');
		if (idIdioma == 1)
			alert('Preencha o campo Nome!');
		if (idIdioma == 2)
			alert('Fill the name field!');
		if (idIdioma == 3)
			alert('Preencha o campo Nome!');
			
		document.formCurriculo.dsNome.focus();
		document.formCurriculo.dsNome.style.background = '#D5C7BF';
		return false;
	}
	
	if(document.formCurriculo.dsEmail.value == ' e-mail' || document.formCurriculo.dsEmail.value == ' email')
	{
		if (idIdioma == '')
			alert('Preencha o campo E-mail!');
		if (idIdioma == 1)
			alert('Preencha o campo E-mail!');
		if (idIdioma == 2)
			alert('Fill the email field!');
		if (idIdioma == 3)
			alert('Preencha o campo E-mail!');
			
		document.formCurriculo.dsEmail.focus();
		document.formCurriculo.dsEmail.style.background = '#D5C7BF';
		return false;
	}
	
	if(document.formCurriculo.dsEmail.value == '')
	{
		if (idIdioma == '')
			alert('Preencha o campo E-mail!');
		if (idIdioma == 1)
			alert('Preencha o campo E-mail!');
		if (idIdioma == 2)
			alert('Fill the email field!');
		if (idIdioma == 3)
			alert('Preencha o campo E-mail!');
			
		document.formCurriculo.dsEmail.focus();
		document.formCurriculo.dsEmail.style.background = '#D5C7BF';
		return false;
	}
	else
	{
		if (/^([\w\.\-])+\@(([\w\-])+\.)+([\w ]{2,4})$/.test(document.formCurriculo.dsEmail.value) == false)   
		{ 
			if (idIdioma == '')
				alert("E-mail Inválido!");
			if (idIdioma == 1)
				alert("E-mail Inválido!");
			if (idIdioma == 2)
				alert("E-mail Inválido!");
			if (idIdioma == 3)
				alert("E-mail Inválido!");
				
			document.formCurriculo.dsEmail.select();
			document.formCurriculo.dsEmail.focus();
			document.formCurriculo.dsEmail.style.background = '#D5C7BF';
			return false;
		}
	}

	if(document.formCurriculo.dsFone.value == '')
	{
		if (idIdioma == '')
			alert('Preencha o campo telefone!');
		if (idIdioma == 1)
			alert('Preencha o campo telefone!');
		if (idIdioma == 2)
			alert('Fill the phone field!');
		if (idIdioma == 3)
			alert('Preencha o campo telefone!');
				
		document.formCurriculo.dsFone.focus();
		document.formCurriculo.dsFone.style.background = '#D5C7BF';
		return false;
	}
	
	if(document.formCurriculo.dsFone.value == ' telefone' || document.formCurriculo.dsFone.value == ' phone')
	{
		if (idIdioma == '')
			alert('Preencha o campo telefone!');
		if (idIdioma == 1)
			alert('Preencha o campo telefone!');
		if (idIdioma == 2)
			alert('Fill the phone field!');
		if (idIdioma == 3)
			alert('Preencha o campo telefone!');
			
		document.formCurriculo.dsFone.focus();
		document.formCurriculo.dsFone.style.background = '#D5C7BF';
		return false;
	}
	
	if(document.formCurriculo.dsCidade.value == '')
	{
		if (idIdioma == '')
			alert('Preencha o campo Cidade!');
		if (idIdioma == 1)
			alert('Preencha o campo Cidade!');
		if (idIdioma == 2)
			alert('Fill the city field!');
		if (idIdioma == 3)
			alert('Preencha o campo Cidade!');
		
		document.formCurriculo.dsCidade.focus();
		document.formCurriculo.dsCidade.style.background = '#D5C7BF';
		return false;
	}
	
	if(document.formCurriculo.dsCidade.value == ' cidade' || document.formCurriculo.dsCidade.value == ' city')
	{
		if (idIdioma == '')
			alert('Preencha o campo Cidade!');
		if (idIdioma == 1)
			alert('Preencha o campo Cidade!');
		if (idIdioma == 2)
			alert('Fill the city field!');
		if (idIdioma == 3)
			alert('Preencha o campo Cidade!');
			
		document.formCurriculo.dsCidade.focus();
		document.formCurriculo.dsCidade.style.background = '#D5C7BF';
		return false;
	}
	
	if(document.formCurriculo.dsInteresse.value == '')
	{
		if (idIdioma == '')
			alert('Preencha o campo área de interesse!');
		if (idIdioma == 1)
			alert('Preencha o campo área de interesse!');
		if (idIdioma == 2)
			alert('Fill the interest area field!');
		if (idIdioma == 3)
			alert('Preencha o campo área de interesse!');
		
		document.formCurriculo.dsInteresse.focus();
		document.formCurriculo.dsInteresse.style.background = '#D5C7BF';
		return false;
	}
	
	if(document.formCurriculo.dsInteresse.value == ' área de interesse' || document.formCurriculo.dsInteresse.value == ' interest area')
	{
		if (idIdioma == '')
			alert('Preencha o campo área de interesse!');
		if (idIdioma == 1)
			alert('Preencha o campo área de interesse!');
		if (idIdioma == 2)
			alert('Fill the interest area field!');
		if (idIdioma == 3)
			alert('Preencha o campo área de interesse!');
			
		document.formCurriculo.dsInteresse.focus();
		document.formCurriculo.dsInteresse.style.background = '#D5C7BF';
		return false;
	}
	
	if(document.formCurriculo.dsFile.value == '')
	{
		if (idIdioma == '')
			alert('Envie seu currículo!');
		if (idIdioma == 1)
			alert('Envie seu currículo!');
		if (idIdioma == 2)
			alert('Send your resume!');
		if (idIdioma == 3)
			alert('Envie seu currículo!');
		
		document.formCurriculo.dsFile.focus();
		document.formCurriculo.dsFile.style.background = '#D5C7BF';
		return false;
	}
}


function urlDecode(string, overwrite){
    if(!string || !string.length){
        return {};
    }
    var obj = {};
    var pairs = string.split('&');
    var pair, name, value;
    var lsRegExp = /\+/g;
    for(var i = 0, len = pairs.length; i < len; i++){
        pair = pairs[i].split('=');
        name = unescape(pair[0]);
        value = unescape(pair[1]).replace(lsRegExp, " ");
        //value = decodeURIComponent(pair[1]).replace(lsRegExp, " ");
        if(overwrite !== true){
            if(typeof obj[name] == "undefined"){
                obj[name] = value;
            }else if(typeof obj[name] == "string"){
                obj[name] = [obj[name]];
                obj[name].push(value);
            }else{
                obj[name].push(value);
            }
        }else{
            obj[name] = value;
        }
    }
    return obj;
}


function jsGet(param)
{
	var wl = window.location.href;
	var params = urlDecode(wl.substring(wl.indexOf("?")+1));
	return(params[param]);
}