Thunder Lizard Conference |
function setImg() { now = new Date if (now.getHours() > 5 && now.getHours() < 18) { document.imgChange.src = "images/icon_sun.gif" } else { document.imgChange.src = "images/icon_moon.gif" } }
<body bgcolor="white" onLoad="setImg()"> . . . <img src="images/spacer.gif" width=40 height=43 name="imgChange">