function enviardados(){

if(document.form2.nome.value=="" || document.form2.nome.value.length < 2)
{
alert( "Preencha campo Nome corretamente!" );
document.form2.nome.focus();
return false;
}

if(document.form2.empresa.value=="" || document.form2.empresa.value.length < 2)
{
alert( "Preencha campo Empresa corretamente!" );
document.form2.empresa.focus();
return false;
}


if(document.form2.mail.value=="" || document.form2.mail.value.length < 2)
{
alert( "Preencha campo E-mail corretamente!" );
document.form2.mail.focus();
return false;
}


return true;
}
