The things that can be changed are towards the bottom of the code.

You'll notice that above the text in red is what time of day they are for such as morning,evening,and night.

The first or top morning is very early morning and the next morning down is late morning up to noon.

Ok where the text is red you would change the words to make it fit your needs.


The stuff in limegreen is the colors to change to make the text different colors to match your page.

This code is a working code so if you need to you can copy and paste this code from
<<>!.......java welcome.......> to <<>!.......end java welcome.......>

These lines above will not show up on the page and make great reference lines when editing.





<<>!.......java welcome.......>
<<>hr align="CENTER" size="2">

<<>script language="JavaScript">
// This script is Copyright 1997 JavaScript World
// http://chelsea.ios.com/~benny3/javascript/
// feel free to edit/use this script so long as you
// keep this copyright in the script

var username = GetCookie('username');
if (username == null) {
username = prompt('Please enter your name or press cancel.',"");
if (username == null) {
alert('It is OK that you don\'t want to share your name with us.');
username = 'Mr. No-Name';

} else {

// don't set the username cookie.... because the user refused to tell
you.
// they will be prompted next time....

pathname = location.pathname;
myDomain = pathname.substring(0,pathname.lastIndexOf('/')) +'/';

// set expiry date to 1 year from now.
var largeExpDate = new Date ();
largeExpDate.setTime(largeExpDate.getTime() + (30 * 24 * 3600 *
1000));

SetCookie('username',username,largeExpDate,myDomain);
}

}


function getCookieVal (offset) {
var endstr = document.cookie.indexOf (";", offset);
if (endstr == -1)
endstr = document.cookie.length;
return unescape(document.cookie.substring(offset, endstr));
}
function GetCookie (name) {
var arg = name + "=";
var alen = arg.length;
var clen = document.cookie.length;
var i = 0;
while (i < clen) {
var j = i + alen;
if (document.cookie.substring(i, j) == arg)
return getCookieVal (j);
i = document.cookie.indexOf(" ", i) + 1;
if (i == 0)
break;
}
return null;
}
function SetCookie (name, value) {
var argv = SetCookie.arguments;
var argc = SetCookie.arguments.length;
var expires = (argc > 2) ? argv[2] : null;
var path = (argc > 3) ? argv[3] : null;
var domain = (argc > 4) ? argv[4] : null;
var secure = (argc > 5) ? argv[5] : false;
document.cookie = name + "=" + escape (value) +
((expires == null) ? "" : ("; expires=" +
expires.toGMTString())) +
((path == null) ? "" : ("; path=" + path)) +
((domain == null) ? "" : ("; domain=" + domain)) +
((secure == true) ? "; secure" : "");
}
var today = new Date ()
var hrs = today.getHours();
document.writeln("<<>CENTER>");
document.writeln("<<>BR>");
document.writeln("<<>FONT SIZE=+1 COLOR=gold>Good");
if (hrs < 5)
document.write (" Morning <<>FONT COLOR=gold>"+ username
+"<<>/FONT>, but shouldn't you be out partying?");
else if (hrs < 12)
document.write ("Morning <<>FONT COLOR=gold>"+ username
+"<<>/FONT>,you just getting home from party central?");
else if (hrs <= 18)
document.write ("Afternoon <<>FONT COLOR=gold>"+ username
+"<<>/FONT>,whats for supper huh?I'm starvin!");
else
document.write ("Evening <<>FONT COLOR=gold>"+ username
+"<<>/FONT>,getting ready to party?");
if (hrs < 5) document.write("<<>FONT COLOR=gold>?<<>/FONT>");
if (hrs > 5) document.write("<<>FONT COLOR=gold>!<<>/FONT>");
document.writeln("<<>BR><<>/FONT>");
document.writeln("<<>FONT COLOR=gold>");
document.writeln("<<>/FONT>");
document.writeln("<<>/CENTER>");
<<>/script>

<<>br>
<<>hr align="CENTER" size="2">
<<>!.......end java welcome.......>