VBScript Greeting

Greeting

<html>

<head>
<script type="text/vbscript">
function greet()
i=hour(time)
If i = 10 then
	document.write("Just started...!")
elseif i = 11 then
	document.write("Good morning!")
elseif i = 12 then
	document.write("At lunch!")
elseif i = 16 then
	document.write("Afternoon!")
else
	document.write("Unknown")
end if
end function
</script>
</head>

<body onload="greet()">
</body>

</html>