<!--
var oPalestras=new SetWindow(600, 450, false, false);

function AtivablocoA(){ SetStyleByID('blocoB', 'hidden'); SetStyleByID('blocoA', 'visible');}
function AtivablocoB(){ SetStyleByID('blocoB', 'visible'); SetStyleByID('blocoA', 'hidden');}

function AfterLoadContact( nAtual ){
	with ( document.ficha ){
		end_correspondencia[1].checked ? AtivablocoB() : AtivablocoA();
		showTipoResponsavel(NumeroContatos());
		for(var nI=0;nI<area_interesse.length;nI++)highlightSelectedCheck(area_interesse[nI]);
		for(var nI=0;nI<plataforma.length;nI++)highlightSelectedCheck(plataforma[nI]);
		for(var nI=0;nI<ramo_atividade.length;nI++)highlightSelectedCheck(ramo_atividade[nI]);
	}
}

function highlightSelectedCheck( oCheck ){
	oCheck.parentNode.className = ( oCheck.checked ? 'selectLabelSelected' : 'selectLabel' );
}

function checarNavega(){
	// Erros no Cadastro do Contato
	if ( !ChecarErros(aErrosContato) )  return false;
	// Erros no Cadastro da Empresa
	if ( !ChecarErros(aErrosEmpresa) )  return false;
	return true;
}

function setInscricao(nCrachas){
	with ( document.ficha ){
		_crachas.value = nCrachas;
		_inscricao.value = ( nCrachas==1 ? 'INDIVIDUAL' : 'EMPRESARIAL' );
		showTipoResponsavel(nCrachas);
	}
}

function showTipoResponsavel(nCrachas){
	with ( document ){
		if ( ficha.nome_responsavel != undefined ){
			getElementById('_congressista').style.display = ( nCrachas==1 ? 'block' : 'none');
			getElementById('_um_congressista').style.display = ( nCrachas==1 ? 'none' : 'block');
			for ( nI=0; nI<3; nI++ ) ficha.tipo_responsavel[nI].disabled = false;
			ficha.tipo_responsavel[( nCrachas==1?'1':'0')].checked = false;
			if ( nCrachas==1 ) getElementById('_ListaCongressistas').style.display = 'none';
		}
	}	
}

function MostraDivResponsavel(lMostra){
	document.getElementById('DIV_responsavel').style.display = ( lMostra ? 'block' : 'none' );
	document.getElementById('CheckResponsavel').style.display = ( lMostra ? 'none' : document.getElementById('_um_congressista').style.display );
	document.getElementById('_ListaCongressistas').style.display = ( document.ficha.tipo_responsavel[1].checked ? 'block' : 'none' );
	if ( lMostra ) LerDadosEmpresaTela(nContato, '_r');
	else{
		LimpaDadosContatoTela('_r');
		LimpaDadosEmpresaTela('_r');
	}
}

function FormSend(){
	var nI, nJ, cTempo='', nContatos=NumeroContatos(), nFields=aArmazenar.length;
	if ( checar() ){
		with ( document.ficha ) {
			for (nI=0; nI<nContatos; nI++){
				for (nJ=0;  nJ<nFields; nJ++) cTempo += ExtrairValor( nI, nJ );
				cTempo += 'µ';
			}
			participantes.value = cTempo;
			submit();
		}
	}
}

function DoItFirst(){
}
//-->