var dayName = new Array ("Pzr.","Pzt.","Salũ","Įrū.","Prū.","Cuma","Cmt.");
var monName = new Array ("01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12");
var now = new Date();



<!-- Original:  Craig Lumley -->
<!-- Web Site:  http://www.ws4all.co.uk -->

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->


function MakeArrayday(size) {
this.length = size;
for(var i = 1; i <= size; i++) {
this[i] = "";
}
return this;
}
function MakeArraymonth(size) {
this.length = size;
for(var i = 1; i <= size; i++) {
this[i] = "";
}
return this;
}
function funClock() {
if (!document.layers && !document.all)
return;
var runTime = new Date();
var hours = runTime.getHours();
var minutes = runTime.getMinutes();


if (minutes <= 9) {
minutes = "0" + minutes;
}

//movingtime = "<b>"+ hours + ":" + minutes +  " " + dn + "</b>";
movingtime = "&nbsp"+ hours + ":" + minutes + "&nbsp";

var fontTagSt  = "<font size=1 face='tahoma' color='#404040'><b>&nbsp;";
var fontTagEnd = "&nbsp;</b></FONT>";

if ((navigator.appName == "Netscape") && (parseFloat(navigator.appVersion) >= 4.5)){
	tarih_yil = now.getYear() + 1900;
	var date = now.getDate() + "." + monName[now.getMonth()] + "." + tarih_yil + ", " + dayName[now.getDay()];
}
else {
	var date = now.getDate() + "." + monName[now.getMonth()] + "." + now.getYear() + ", " + dayName[now.getDay()];
}

var dateTime = fontTagSt + date + movingtime + fontTagEnd +"&nbsp";

if (document.layers) {
document.layers.clock.document.write(dateTime);
document.layers.clock.document.close();
}
else if (document.all) {
var clockDiv= window.document.getElementById("clock");
//alert("saat:"+movingtime);
clockDiv.innerHTML = dateTime;
}
setTimeout("funClock()", 1000)
}
funClock();


