var vd="Please ";
var vdi=vd+"give ";
var erm="Your E-mail address is not valid !";

function controlForm(t){
var ok=true;
var rExpC=/^\d+$/;
if (t.nom.value==""){
ok=false;
alert(vdi+"a name or a nick.");
t.nom.focus();
}
else if (t.email.value==""){
ok=false;
alert(vdi+"an email.");
t.email.focus();
}
else if ((t.email.value.indexOf('@',0)==-1) || (t.email.value.indexOf('.',0)==-1)){
alert(erm);
t.email.select();
t.email.focus();
ok=false;
}
else if (t.objet.value==""){
ok=false;
alert(vdi+"a subject to the message.");
t.objet.focus();
}
else if (t.message.value==""){
ok=false;
alert(vd+"write a message.");
t.message.focus();
}
return ok;
}
