// JavaScript Document
// Contém as traduções dos formulários de cadastro
	var traducoes = new Array();
	traducoes[traducoes.length] = new Array("tipo_pessoa_texto", "", "Document");
	traducoes[traducoes.length] = new Array("info_principal", "<img src='imagens/base/quadra.gif' height='4' width='4' align='absmiddle' border='0'> <strong>INFORMA&Ccedil;&Otilde;ES PRINCIPAIS</strong>", "<img src='imagens/base/quadra.gif' height='4' width='4' align='absmiddle' border='0'> <strong>MAIN INFORMATION</strong>");
	traducoes[traducoes.length] = new Array("escolha_senha", "<img src='imagens/base/quadra.gif' height='4' width='4' align='absmiddle' border='0'> <strong>CHOSE YOUR PASSWORD</strong>", "<img src='imagens/base/quadra.gif' height='4' width='4' align='absmiddle' border='0'> <strong>CHOSE YOUR PASSWORD</strong>");
	traducoes[traducoes.length]	= new Array("barra_endereco", "<img src='imagens/base/quadra.gif' height='4' width='4' align='absmiddle' border='0'> <strong>ENDERE&Ccedil;O</strong>", "<img src='imagens/base/quadra.gif' height='4' width='4' align='absmiddle' border='0'> <strong>ADDRESS</strong>");
	traducoes[traducoes.length]	= new Array("barra_boletim", "<img src='imagens/base/quadra.gif' height='4' width='4' align='absmiddle' border='0'> <strong>BOLETIM OMNISCI&Ecirc;NCIA</strong>", "<img src='imagens/base/quadra.gif' height='4' width='4' align='absmiddle' border='0'> <strong>OMNISCIÊNCIA BULLETIN</strong>");
	traducoes[traducoes.length]	= new Array("nome_cadastro", "*Nome:", "*First Name:");
	traducoes[traducoes.length]	= new Array("sobrenome_cadastro", "Sobrenome:", "Last Name:");
	traducoes[traducoes.length]	= new Array("email_cadastro", "*E-mail:", "E-mail Address:");
	traducoes[traducoes.length]	= new Array("conf_email_cadastro", "*Confirme seu e-mail", "Confirm your E-mail Address:");
	traducoes[traducoes.length]	= new Array("senha_cadastro", "Senha:", "Password:");
	traducoes[traducoes.length]	= new Array("re_senha_cadastro", "Digite a Senha Novamente:", "Re-enter your Password:");
	traducoes[traducoes.length]	= new Array("pais_cadastro", "Pa&iacute;s:", "Country:");
	traducoes[traducoes.length]	= new Array("endereco_cadastro", "Endere&ccedil;o:", "Address:");
	traducoes[traducoes.length]	= new Array("estado_cadastro", "Estado:", "State:");
	traducoes[traducoes.length]	= new Array("estado_cadastro_inter", "Estado/Província:", "State:");
	traducoes[traducoes.length]	= new Array("tel_casa_cad", "Telefone Residencial:", "Home International Phone Number:");
	traducoes[traducoes.length]	= new Array("cel_cadastro", "Telefone Celular:", "Mobile Number:");
	traducoes[traducoes.length]	= new Array("tel_comercial", "Telefone Comercial:", "Business Number:");
	traducoes[traducoes.length] = new Array("pais_br_bairro", "Bairro:", "Quarter:");
	traducoes[traducoes.length] = new Array("pais_br_cep", "CEP:", "Zip/Postal Code:");
	traducoes[traducoes.length] = new Array("pais_br_cidade", "Cidade:", "City:");
	//traducoes[traducoes.length]	= new Array("data_de_nasc", "Data de Nascimento:", "Date of birth:");
	traducoes[traducoes.length]	= new Array("data_de_nasc", "Data de Nascimento:", "Data de Nascimento:");
	traducoes[traducoes.length]	= new Array("sexo_cadastro", "Sexo:", " Gender:");
	traducoes[traducoes.length]	= new Array("masculino", "masculino", "Male");
	traducoes[traducoes.length]	= new Array("feminino", "feminino", "Female");
	traducoes[traducoes.length]	= new Array("tipo_de_pessoa", "Pessoa:", " Type:");
	traducoes[traducoes.length]	= new Array("pf", "Física", "Individual");
	traducoes[traducoes.length] = new Array("pj", "Jurídica", "Company");
	traducoes[traducoes.length] = new Array("profissao_cad", "Profiss&atilde;o:", " Profession:");
	traducoes[traducoes.length]	= new Array("mascara_telefoneres", "(DDD + Número + Ramal)", " (Area Code + Number)");
	traducoes[traducoes.length]	= new Array("mascara_telefonecel", "(DDD + Número)", " (Area Code + Number)");
	traducoes[traducoes.length]	= new Array("mascara_telefonecom", "(DDD + Número + Ramal)", " (Area Code + Number)");
	traducoes[traducoes.length]	= new Array("texto_introd", "<img src='imagens/base/quadra.gif' alt='' height='4' width='4' align='absmiddle' border='0'> Para ser um cliente é necessário completar seu cadastro preenchendo corretamente o formulário abaixo com os respectivos dados cadastrais.			<br><br><img src='imagens/base/quadra.gif' alt='' height='4' width='4' align='absmiddle' border='0'> Os campos com * são de preenchimento obrigatório para processarmos e enviar o seu pedido.</div>", "<img src='imagens/base/quadra.gif' alt='' height='4' width='4' align='absmiddle' border='0'> To become a customer it is necessary to register with us. Please fill out the following registration form accurately.<br><br><img src='imagens/base/quadra.gif' alt='' height='4' width='4' align='absmiddle' border='0'> Fields marked with an asterisk * are required in order to enable us to process and deliver your order properly.</div>");
	traducoes[traducoes.length]	= new Array("texto_max_senha", "No máximo 8 caracteres letras e números", "8 characters maximum (letters and numbers)");
	traducoes[traducoes.length]	= new Array("perg_receber_boletim", "Você tem interesse em receber a Newsletter e Informações da Omnisciência?", "Would you like to receive OMNISCIÊNCIA BULLETIN?");
	traducoes[traducoes.length]	= new Array("resp_receber_boletim_sim", "Sim", "Yes");
	traducoes[traducoes.length]	= new Array("resp_receber_boletim_nao", "Não", "No");
	traducoes[traducoes.length]	= new Array("perg_receber_msg_dia_diaria", "Receber diariamente em seu e-mail a Mensagem do Dia:", "To daily receive in your email the Message from the day");
	traducoes[traducoes.length]	= new Array("perg_receber_msg_dia_diaria_sim", "Sim", "Yes");
	traducoes[traducoes.length]	= new Array("perg_receber_msg_dia_diaria_nao", "Não", "No");
	traducoes[traducoes.length]	= new Array("txt_escolha_assuntos_inter", "Escolha os Assuntos de seu Interesse:", "Select the subjects that interest you:");
	traducoes[traducoes.length]	= new Array("txt_como_conheceu", "<img src='imagens/base/quadra.gif' alt='' height='4' width='4' align='absmiddle' border='0'> <b>COMO NOS CONHECEU?</b>", "<img src='imagens/base/quadra.gif' alt='' height='4' width='4' align='absmiddle' border='0'> <b>HOW HAVE YOU KNOWN US?</b>");
	traducoes[traducoes.length]	= new Array("txt_conh_folheto", "Folheto", "Flyer");
	traducoes[traducoes.length]	= new Array("txt_conh_busca_internet", "Busca na internet", "Internet search");
	traducoes[traducoes.length]	= new Array("txt_conh_email", "E-mail", "E-mail");
	traducoes[traducoes.length]	= new Array("txt_conh_fachada", "Fachada", "Front");
	traducoes[traducoes.length]	= new Array("txt_conh_amigos", "Amigos ou Parentes", "Friends or relatives");
	traducoes[traducoes.length]	= new Array("txt_conh_outros", "Outros", "Others");
	traducoes[traducoes.length]	= new Array("txt_conh_qual", "Qual?", "Which?");
	traducoes[traducoes.length]	= new Array("txt_somente_numeros_1", "Somente N&uacute;meros ", "Numbers only");
	traducoes[traducoes.length]	= new Array("txt_somente_numeros_2", "Somente N&uacute;meros ", "Numbers only");
	traducoes[traducoes.length]	= new Array("complemento_cad", "Complemento:", "Address complement:");
	
	traducoes[traducoes.length]	= new Array("pais_entrega", "País:", "Country:");
	traducoes[traducoes.length]	= new Array("endereco_entrega", "Endereço de entrega:", "Delivery Address:");
	traducoes[traducoes.length]	= new Array("complemento_ent", "Complemento:", "Address complement:");
	traducoes[traducoes.length]	= new Array("txt_ent_bairro", "Bairro:", "Quarter:");
	traducoes[traducoes.length]	= new Array("estado_inter_entrega", "Estado:", "State:");
	traducoes[traducoes.length]	= new Array("lbl_cidade_entrega", "Cidade:", "City:");
	traducoes[traducoes.length]	= new Array("lbl_tit_endereco_entrega", " <img src='imagens/base/quadra.gif' alt='' height='4' width='4' align='absmiddle' border='0'> <b>ENDERE&Ccedil;O DE ENTREGA </b>", " <img src='imagens/base/quadra.gif' alt='' height='4' width='4' align='absmiddle' border='0'> <b>DELIVERY ADDRESS </b>");
	
	traducoes[traducoes.length]	= new Array("lbl_ender_ent_mesmo", "O mesmo", "The same");
	traducoes[traducoes.length]	= new Array("lbl_ender_ent_outro", "Outro", "Other");
	traducoes[traducoes.length]	= new Array("lbl_cep_entrega", "CEP:", "Zip/Postal Code:");
	traducoes[traducoes.length]	= new Array("lbl_pelo_menos_1_tel_contato", "Digite pelo Menos um Telefone para Contato", "Inform at least one telephone number");
	
	//traducoes[traducoes.length]	= new Array("", "", "");
		
	function TraduzCampo(indice_texto, id_idioma) {
		if (getElt(traducoes[indice_texto][0]) != null) {
			if (traducoes[indice_texto][id_idioma] != "") {
				getElt(traducoes[indice_texto][0]).innerHTML = traducoes[indice_texto][id_idioma];
			}
		}
		else {
			if  (
			(traducoes[indice_texto][0] != "tipo_pessoa_texto") 
			&& (traducoes[indice_texto][0] != "tipo_de_pessoa")
			&& (traducoes[indice_texto][0] != "senha_cadastro")
			&& (traducoes[indice_texto][0] != "re_senha_cadastro")
			&& (traducoes[indice_texto][0] != "escolha_senha")
			&& (traducoes[indice_texto][0] != "email_cadastro")
			&& (traducoes[indice_texto][0] != "conf_email_cadastro")
			) {
				//alert( traducoes[indice_texto][0] + ' nao encontrado!');
			}
		}
	}
	
	function TraduzFormulario(tipo_trad) {
		for (ix=0; ix<traducoes.length; ix++) {
			// traduz os campos
			TraduzCampo(ix, tipo_trad);
		}	
	}

