
// written by: The Dragon himself http:\\realwebmaster.com\
// if someone trys to open this by itself, detect it and back out and back through main.htm

//   - - - - - - - - Time Functions enjoy em, The Dragon- - - - - - - -
function GiveGreeting () {
	document.write("<CENTER>");
	day = new Date();
	hr = day.getHours();
	if (hr ==1)
		document.write("Good morning! 1AM and still your going! ");
	if (hr ==2)
		document.write("Hey, it`s past 2AM! You are a real go getter!");
	if (hr ==3)
		document.write("Hey, it's after 3AM! Are you a vampire or what?");
	if (hr ==4)
		document.write("4AM? You must be like me and roam all night huh!");
	if (hr ==5)
		document.write("Damn it's almost daylight and your still going!");
	if (hr ==6)
		document.write("Hey, isn't it too early to be using your computer");
	if ((hr == 6) || (hr ==7) || (hr ==8) || (hr == 9) || (hr ==10))
		document.write("Good Morning! Glad to see you");
	if (hr ==11)
		document.write("I get out of bed about this time every day...");
	if (hr ==12)
		document.write("NOON! Great, 5 more hours to go!");
	if (hr ==14)
		document.write("It's 2PM. What to do...?");
	if ((hr==15) || (hr==16) || (hr==13))
		document.write("Good Afternoon!");
	if ((hr==17) || (hr==18) || (hr==19) || (hr==20) || (hr==21) || (hr==22))
		document.write("Good Evening! Welcome to prime time on the ole web.");
	if (hr==23)
		document.write("It's almost midnight");
	if (hr==0)
		document.write("It's midnight... do you ever sleep?");
	document.write("</CENTER>");
}
//   - - - - - - - - Bouwser Type Functions enjoy em, The Dragon- - - - - - - -
function Show_Type() {
	document.write("So you are using " + navigator.appName + " (<i>" + navigator.appCodeName + "</i>) " + "version " + navigator.appVersion + ".<BR>")
}

GiveGreeting();
Show_Type();

// end JavaScript

