var d = new Date()
var h = d.getHours()

//You can record your own audio greeting and customize the greeting time and message
if (h < 12) document.write('<bgsound SRC="Goodmorning.wav" AUTOSTART=true LOOP=1>'+'Good morning and welcome to... ')
else if (h < 18) document.write('<bgsound SRC="Goodafternoon.wav" AUTOSTART=true LOOP=1>'+'Good afternoon and welcome to...')
else if (h < 24) document.write('<bgsound SRC="Goodevening.wav" AUTOSTART=true LOOP=1>'+'Good evening and welcome to... ')