function enviardados(){

if(document.form02.nome.value=="" || document.form02.nome.value.length < 2)
{
alert( "Preencha campo Nome corretamente!" );
document.form02.nome.focus();
return false;
}

if( document.form02.mail.value=="" || document.form02.mail.value.indexOf('@')==-1)
{
alert( "Preencha campo E-MAIL corretamente!" );
document.form02.mail.focus();
return false;
}


if(document.form02.atividade.value=="" || document.form02.atividade.value.length < 3)
{
alert( "Preencha campo Atividade corretamente,\nCampo Atividade está vazio ou\nestá menor que 3 dígitos!" );
document.form02.atividade.focus();
return false;
}


return true;
}
