<!--
function showFilled(Value) {
  return (Value > 9) ? "" + Value : "0" + Value;
}
function StartClock24() {
  TheTime = new Date;
  document.getElementById("clock").innerHTML = customDateString()+ ', '+ showFilled(TheTime.getHours()) + ":" + showFilled(TheTime.getMinutes());
  setTimeout("StartClock24()",1000)
}

function MakeArray(n) {
	this.length = n
	return this
}
monthNames = new MakeArray(12)
monthNames[1] = "sausio"
monthNames[2] = "vasario"
monthNames[3] = "kovo"
monthNames[4] = "balandžio"
monthNames[5] = "gegužės"
monthNames[6] = "birželio"
monthNames[7] = "liepos"
monthNames[8] = "rugpjūčio"
monthNames[9] = "rugsėjo"
monthNames[10] = "spalio"
monthNames[11] = "lapkričio"
monthNames[12] = "gruodžio"
dayNames = new MakeArray(7)
dayNames[1] = "Sekmadienis"
dayNames[2] = "Pirmadienis"
dayNames[3] = "Antradienis"
dayNames[4] = "Trečiadienis"
dayNames[5] = "Ketvirtadienis"
dayNames[6] = "Penktadienis"
dayNames[7] = "Šeštadienis"

function customDateString() {
	currentDate = new Date()
	var theDay = dayNames[currentDate.getDay() + 1]
	var theMonth = monthNames[currentDate.getMonth() + 1]
	msie4 = ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4 ));
	if (msie4) {
	    var theYear = currentDate.getYear();
	}
	else {
	     var theYear = 1900 + currentDate.getYear();
	}
	return theYear+" m. "+ theMonth +" "+ currentDate.getDate()+" d. "+theDay;
}

//-->


