//// FUNÇÕES GERAIS PRA ANGEL ////
function listOpenClose(list_id, btn)
{
	var btn_text = new String(btn['innerHTML']);	
	if(getDisplay(list_id) == 'none')
	{
		un_hide(list_id);
		btn_text = btn_text.replace(/\+/g, '-');
		btn_text = btn_text.replace(/ver/g, 'fechar');
	}//if none
	else
	{
		hide(list_id);
		btn_text = btn_text.replace(/\-/g, '+');
		btn_text = btn_text.replace(/fechar/g, 'ver');
	}//else normal	
	btn['innerHTML'] = btn_text;
}//listOpenClose

//função para a página dos termos
function termosAction(yes_url, no_url)
{
	var aceito = document.getElementsByName('aceito');	
	var sel = false;
	for(var a = 0; a < aceito.length; a++)
	{		
		if(aceito[a].checked == true)sel = aceito[a];
	}//for a
	if(sel == false)alert('Por favor escolha uma das opções.');
		else if(sel.value == 'S')window.location = yes_url;
			else if(sel.value == 'N')window.location = no_url;
}//termosAction