function MakeArray(n) {
	this.length = n
	return this
}
monthNames = new MakeArray(12)
monthNames[1] = "Styczeń"
monthNames[2] = "Luty"
monthNames[3] = "Marzec"
monthNames[4] = "Kwiecień"
monthNames[5] = "Maj"
monthNames[6] = "Czerwiec"
monthNames[7] = "Lipiec"
monthNames[8] = "Sierpień"
monthNames[9] = "Wrzesień"
monthNames[10] = "Październik"
monthNames[11] = "Listopad"
monthNames[12] = "Grudzień"
dayNames = new MakeArray(7)
dayNames[1] = "Niedziela"
dayNames[2] = "Poniedziałek"
dayNames[3] = "Wtorek"
dayNames[4] = "Środa"
dayNames[5] = "Czwartek"
dayNames[6] = "Piątek"
dayNames[7] = "Sobota"

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 = currentDate.getYear() +1900
	}
	return theDay + ", " + currentDate.getDate() + " " + theMonth + " " + theYear
}