
function checkPasswords()
{

var mypassword= "leclerc"

var windowprops = "top=0,left=0,resizable=no,toolbar=no,statusbar=no"
+ ",width=" + screen.width + ",height=" + screen.height;

  if (password.Access.value == mypassword) 
    {
     top.window.open("ProtectedArea.htm","Test",windowprops)
    }
  else alert("Mot de passe incorrect. Essayez encore!") 
 
} 
