function checkPassword()
{
if (loginform.password.value != "12345")
{
logs();
window.location.href='https://www.enfis.pt/ScapeAtHome/principal.php';
}
else
{
alert('The Password you used is just for first time visitors\rPlease change it and fill in the other details.\r Once you Submit changes - Log in again');
window.location.href='https://www.enfis.pt/ScapeAtHome/mudarpass.php';
}
}
}