// **************************************************
// Permission granted to use and/or redistribute this
// script, so long as this notice remains intact.
// www.TheWebHut.com / support@WebPage-Tools.com
// **************************************************
// Change "guest" to your desired Username below.
// Change "enter" to your desired Password below.
// You can also change the URL's to reflect your own.
// **************************************************
function authUser(form) { 
  var location;
  var Username;
  var Password;
if (form.Username.value=="nelions") { 
if (form.Password.value=="admin") { 
location="members.html"

} else { 
    location="unauthorized.html"
    } 
} else { 
    location="unauthorized.html"
    }
  fetch(location)
  theKeeper=window.close()
}
function fetch(location) {
  var root;
  var new_window = null;
  if (opener.closed) {root=window.open('Login.html', 'pass', 'width=350,height=200,resizable=1');
    root.location.href = location;
  } else {
    opener.location.href = location;
  }
} 