<!DOCTYPE HTML> <html> <body> <script type="text/vbscript"> i=hour(time) If i < 10 Then document.write("Good morning!") Else document.write("Have a nice day!") End If </script> </body> </html>