<!--- KAYNAK: http://www.gezginler.net ---><br /><SCRIPT LANGUAGE="JavaScript"> <br /><!-- <br />document.write(setClock()) <br />function setClock() { <br /> var text = "" <br /> var openImage = "<IMG SRC="" + getPath(location.href) + "dg" <br /> var closeImage = ".gif" HEIGHT=21 WIDTH=16>" <br /> var now = new Date() <br /> var hour = now.getHours() <br /> var minute = now.getMinutes() <br /> now = null <br /> var ampm = "" <br /> if (hour >= 12) { <br /> hour -= 12 <br /> ampm = "pm" <br /> } else <br /> ampm = "am" <br /> hour = (hour == 0) ? 12 : hour <br /> if (minute < 10) <br /> minute = "0" + minute // do not parse this number! <br /> minute += "" <br /> hour += "" <br /> for (var i = 0; i < hour.length; ++i) { <br /> text += openImage + hour.charAt(i) + closeImage <br /> } <br /> text += openImage + "c.gif" HEIGHT=21 WIDTH=9>" <br /> for (var i = 0; i < minute.length; ++i) { <br /> text += openImage + minute.charAt(i) + closeImage <br /> } <br /> text += openImage + ampm + closeImage <br /> return text <br />} <br />function getPath(url) { <br /> lastSlash = url.lastIndexOf("/") <br /> return url.substring(0, lastSlash + 1) <br />} <br />// --> <br /></SCRIPT><br /><!--- KAYNAK: http://www.gezginler.net --->