[code=html]
// Part of a HTML Script Tag
if (Time == 00)
{document.write(“Ow, it’s tommorow already! Just the beginning of the day!”)
&&
document.Status.src=”iImages/S6-1.jpg”}
else if (Time > 00 && Time <= 05)
{document.write(“Ow why are you awake now?! It’s still too ERALY!”)
&&
document.Status.src=”Images/S6-2″}
else if (Time > 05 && Time <= 12)
{document.write(“Good morning!”)
&&
document.Status.src=”Images/S6-3″)
else if (Time > 12 && Time <= 18)
{document.write(“Good afternoon!”)
&&
document.Status.src=”Images/S6-4″}
else if (Time > 18 && Time <= 22)
{document.write(“Good night!”)
&&
document.Status.src=”Images/S6-5″}
else
{document.write(“Go get some sleeeeeeep maan!”)
&&
document.Status.src=”Images/S6-6″}
}
I used the “[B]&&[i]syntax