quale dei nomi dei campi e' quello reale?

codice:
var lungh_login = document.mod_prof.login.value.length;
var lungh_pswd = document.mod_prof.password.value.length;
var lungh_pswd1 = document.mod_prof.password1.value.length;

if(lungh_login < 5) {
 alert('La "Login" deve essere di almeno 5 caratteri.');
 document.mod_prof.login.focus();
 return false;
}
if(lungh_pswd < 6) {
 alert('La "Password" deve essere di almeno 6 caratteri.');
 document.mod_prof.pswd.focus();
 return false;
}
if(lungh_pswd1 < 6) {
 alert('La "Password di conferma" deve essere di almeno 6 caratteri.');
 document.mod_prof.pswd1.focus();
 return false;
}
if(lungh_pswd != lungh_pswd1) {
 alert('Le "Password" inserite non sono identiche.');
 return false;
}
return true;
}
ciao