
function LogIn(){
loggedin=false;
username="";
password="";
username=prompt("Username:","");
username=username.toLowerCase();
password=prompt("Password:","");
password=password.toLowerCase();
if (username=="sehana" && password=="kitkat") { 
loggedin=true;
window.location="indexc.html";
}
if (username=="s" && password=="f") { 
loggedin=true;
window.location="indexc.html";
}
if (username=="hotfist95" && password=="wilson95") {
loggedin=true;
window.location="indexc.html";
}
if (username=="family" && password=="family01") {
loggedin=true;
window.location="indexc.html";
}
if (username=="friend" && password=="friend01") {
loggedin=true;
window.location="indexc.html";
}
if (username=="johnson" && password=="family") {
loggedin=true;
window.location="indexc.html";
}
if (username=="gill" && password=="family") {
loggedin=true;
window.location="indexc.html";
}
if (username=="centerra" && password=="teacher") {
loggedin=true;
window.location="indexc.html";
}
if (username=="amu" && password=="student") {
loggedin=true;
window.location="indexc.html";
}
if (loggedin==false) {
alert("Invalid Login! Please Try Again.");
}
}

