//
// Password Protection
//
// This code is free to be used as long as these
// credits are left intact and included with the script:
//
// Original code created by: 
// S. Scott Brady, Copyright (C) 1998
// http://www.sbrady.com/
// webmaster@sbrady.com
//

var password = prompt("Enter your password","");
if (password == "smappyfriends") {
alert("Password accepted! Loading page...");

document.write("<p><p align=\"center\"><font face=\"Comic Sans MS\">")
document.write("here's a link to the page...</font>\r\n\r\n")
document.write("<p><p align=\"center\"><a href=\"http://www2.hawaii.edu/~julianns/schedule.htm\">")
document.write("<font face=\"Comic Sans MS\">juli's schedule</a></p>")

}

else {
alert("" +password+ " is an Invalid Password! Access denied...");

document.write("<p><h1 align=\"center\"><font color=\"#808080\">")
document.write("You have entered an invalid password.")
document.write(" Access to the document is denied.</font></h1></p>");

} 