<SCRIPT LANGUAGE="javascript">

var user = prompt("What is the username?","")

var pass = prompt("What is the password?","")

var users= new Array();

 

// this is the page to make secure

var correct = "http://www.wheatonclub.com/pages/31";

// this is the page if they cancel

var home = "http://www.wheatonclub.com";

// ** enter usernames and passwords in like this:: **

// users["username"] = "password";

// copy and paste these below to create as many users as you want! users["happy"] = "sad";

 users["motherwheaton"] = "brats"

users["gardenchiq"] = "peaches";

users["wheatonpakrat"] = "rocky";

users["Wheaton"] = "Royalty";

users["wheatonvillage"] = "paperweight";

users["mamawheaton"] = "mikki123";

users["papawheaton"] = "max123";

users["sisterwheaton"] = "sister"

users["szeus2"] = "schuch";

 

// **end users

 

if (users[user] != pass) // wrong login

{

direct = this.location;

alert('\nERROR\nIncorrect Login!\n');

}

else if (user == null || pass == null)

// cancel

{ direct = home;

alert('\nGood Bye\n');

}

else if (users[user] == pass) // Login Correct

{ direct = correct;

alert('\nThank You\n');

}

location.href = direct;

</SCRIPT>