// create a new Date object
var now = new Date();
// extract the time information
var hh = now.getHours();
// default welcome message
var hi = "Good Morning, Fly Fishing Enthusiasts!";
// welcome if after noon
if( hh > 11 ) hi= "Good Afternoon, Fly Fishing Enthusiasts!";
// welcome if after 6 p.m.
if( hh > 17 ) hi= "Good Evening, Fly Fishing Enthusiasts!";
// display welcome message
var tim = hi;
document.write(tim);

