//Time of day message script- by javascriptkit.com

//Visit JavaScript Kit (http://javascriptkit.com) for script

//Credit must stay intact for use



var Digital=new Date()

var hours=Digital.getHours()



//Configure message below to your own.

if (hours>=5&&hours<=11) //MESSAGE FOR MORNING

document.write('<b>W e l c o m e&nbsp;&nbsp; t o&nbsp;&nbsp; m y&nbsp;&nbsp;  s i t e.&nbsp;&nbsp;   G o o d&nbsp;&nbsp;  m o r n i n g&nbsp;&nbsp;  v i s i t o r.</b>')

else if (hours==12) //MESSAGE FOR NOON

document.write('<b>I t&nbsp;&nbsp;  i s&nbsp;&nbsp;  h i g h&nbsp;&nbsp;  n o o n .&nbsp;&nbsp; T h a n k s&nbsp;&nbsp;   f o r&nbsp;&nbsp;   d r o p p i n g &nbsp;&nbsp;  b y !</b>')

else if (hours>=13&&hours<=17) //MESSAGE FOR AFTERNOON

document.write('<b>G o o d&nbsp;&nbsp;   a f t e r n o o n ,&nbsp;&nbsp;  a n d&nbsp;&nbsp;   t h a n k s&nbsp;&nbsp;   f o r&nbsp;&nbsp;   v i s i t i n g .</b>')

else if (hours>=18&&hours<=20) //MESSAGE FOR EVENING (6pm-8pm)

document.write('<b>G o o d&nbsp;&nbsp;   e v e n i n g .&nbsp;&nbsp; H o p e&nbsp;&nbsp;   y o u\'r e&nbsp;&nbsp; e n j o y i n g&nbsp;&nbsp;  t h e&nbsp;&nbsp;  g e n t l e&nbsp;&nbsp; b r e e z e</b>')

else if (hours>=21&&hours<=11) //MESSAGE FOR NIGHT (9pm-11pm)

document.write('<b>G l a d &nbsp;&nbsp;  t o &nbsp;&nbsp;   s e e &nbsp;&nbsp;   y o u &nbsp;&nbsp;   t h i s &nbsp;&nbsp;   t i m e &nbsp;&nbsp;   o f &nbsp;&nbsp;   t h e &nbsp;&nbsp;   n i g h t.</b>')

else //MESSAGE FOR LATE NIGHT, EARLY MORNING (12pm-4am)

document.write('<b>W o w ,&nbsp;&nbsp;   t h a n k s&nbsp;&nbsp;   f o r&nbsp;&nbsp;   c h o o s i n g &nbsp;&nbsp;  t o&nbsp;&nbsp;   v i s i t &nbsp;&nbsp;  m y &nbsp;&nbsp;  s i t e  &nbsp;&nbsp; o v e r &nbsp;&nbsp;  s l e e p !</b>')


