function check() {
 var password = "flg29";
 if (document.login.pwd.value == password) {
  location.href = "areaprivata/default.htm";
 }
 else {
  alert("Wrong password!");
  location.href = "passw.html";
 }
}