
function checkPasswords()
{

var mypassword= "webhost123"
// Replace "demo" with your own password.

var windowprops = "top=0,left=0,resizable=no"
+ ",width=" + screen.width + ",height=" + screen.height;

  if (password.Access.value == mypassword) 
    {
     top.window.open("ProtectedArea.htm","Test",windowprops)
    }
  else alert("Wrong Password, please try again!") 
 
} 

