function CheckPwd() {
var cPassword = document.forms[0].password.value;
var cNextPage1 = "../eloise/ellie_main.html";
var cNextPage2 = "../ian/ian_main.html";
var ipwdmatch = 0

if (cPassword == "happy2u" ||
cPassword == "HAPPY2U") {
/*alert(cPassword);*/
document.location.href = cNextPage1;
ipwdmatch = 1 ;
} 
else if (cPassword == "ginormous" ||
cPassword == "GINORMOUS") {
/*alert(cPassword);*/
document.location.href = cNextPage2;
ipwdmatch = 1 ;
} 
else {
alert('Wrong password, please try again');
}
return ipwdmatch ;
}

