function consisteEventos()
{
	if (document.eventos.locatario.value == ""){
		alert('Informe o locatário');
		document.eventos.locatario.focus();
		return false ;
	}
	if (document.eventos.endereco.value == ""){
		alert('Informe o endereço');
		document.eventos.endereco.focus();
		return false ;
	}
	if (document.eventos.telefone.value == ""){
		alert('Informe o telefone');
		document.eventos.telefone.focus();
		return false ;
	}
	if (document.eventos.cnpj.value == ""){
		alert('Informe o CNPJ');
		document.eventos.cnpj.focus();
		return false ;
	}
	if (document.eventos.im.value == ""){
		alert('Informe o IM');
		document.eventos.im.focus();
		return false ;
	}
	if (document.eventos.responsavel.value == ""){
		alert('Informe o responsável');
		document.eventos.responsavel.focus();
		return false ;
	}
	if (document.eventos.cpfrg.value == ""){
		alert('Informe o CPF/RG');
		document.eventos.cpfrg.focus();
		return false ;
	}
	if (document.eventos.evento.value == ""){
		alert('Informe o evento');
		document.eventos.evento.focus();
		return false ;
	}
	if (document.eventos.dataentrega.value == ""){
		alert('Informe a data de entrega');
		document.eventos.dataentrega.focus();
		return false ;
	}
	if (document.eventos.datadevolucao.value == ""){
		alert('Informe a data de devolução');
		document.eventos.datadevolucao.focus();
		return false ;
	}
	if (document.eventos.totalhoras.value == ""){
		alert('Informe o total de horas');
		document.eventos.totalhoras.focus();
		return false ;
	}
	return true;
}
function consistePF()
{
	if (!CALEPINO.util.checkEmail(document.associepf.email.value))
	{
		alert('O seu e-mail está incorreto.');
		document.associepf.email.focus();
		return false;
	}
	if (!CALEPINO.util.checkEmail(document.associepf.emailemp.value))
	{
		alert('O seu e-mail está incorreto.');
		document.associepf.emailemp.focus();
		return false;
	}
}
function consistePJ()
{
	if (!CALEPINO.util.checkEmail(document.associepj.email.value))
	{
		alert('O seu e-mail está incorreto.');
		document.associepj.email.focus();
		return false;
	}
	if (!CALEPINO.util.checkEmail(document.associepj.emailresp1.value))
	{
		alert('O seu e-mail está incorreto.');
		document.associepj.emailresp1.focus();
		return false;
	}
}
