//Greeting
d = new Date();
hourValue = d.getHours();
if (hourValue < 12)    {greeting = "Good morning !";}
else if (hourValue < 17)  {greeting = "Good afternoon !";}
else {greeting = "Good evening !";}

//E-e-mail addresses
//fixed items
var instruction="m"+"a"+"i"+"l"+"t"+"o"+":"
//var code=eval(32+16+8+4+2+1+1)
//var snail = "&#0"+code+";"
var snail = "@"
//domains
var domain1 = "the-edwards"
var domain2 = "aol"
var domain3 = "virgin"
var domain4 = "ukgateway"

//types of domains
var type1 = ".org"
var type2 = ".com"
var type3 = ".net"

//countries
var country0 = ""
var country1 = ".uk"
//people
var person1 = "brian"
var person2 = "maureen"
var person3 = "alijleat"
var person4 = "rex.agg"

// the operative part
function hide(person,domain,type,country) {
parent.location = instruction+person+snail+domain+type+country;}


//Gatekeeper
var nifty_little_window = null;
function gateKeeper() {
nifty_little_window = window.open('gatekeep.htm', 'theKeeper', 'width=500,height=250,resizable=1,screenX=100,screenY=75,left=100,top=75');
}
function goForit() {
var location;
var password;
password=this.document.testform.inputbox.value
location=password + ".htm"
fetch(location)
theKeeper=window.close()
}
function fetch(location) {
var root;
if (opener.closed) {
root=window.open('','theKeepersGopher','toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=no');
root.location.href = location;
} else {
opener.location.href = location;
   }
}