// JavaScript Document
function currentTime() {
	var H, M, S, clock;
	var Months = new Array(13);
	Months[1] = "Януари";
	Months[2] = "Февруари";
	Months[3] = "Март";
	Months[4] = "Април";
	Months[5] = "Май";
	Months[6] = "Юни";
	Months[7] = "Юли";
	Months[8] = "Август";
	Months[9] = "Септември";
	Months[10] = "Октомври";
	Months[11] = "Ноември";
	Months[12] = "Декември"
	var now = new Date();
	var h = now.getHours();
	var m = now.getMinutes();
	var s = now.getSeconds();
	var day = now.getDate();
	var month = now.getMonth();
	var year = now.getYear();
	year = "20" + parseInt(year%100/10) + year%10; 
	H = h;
	M = m;
	S = s;
	if (h < 10)
		H = "0"+h;
	if (m < 10)
		M = "0"+m;
	if (s < 10)
		S = "0"+s;
	clock = day + " " + Months[month + 1] + " " + year + " - " + H + ":" + M + ":" + S;
	document.getElementById("clock").innerHTML = clock;
}
