function MakeArray(n) {
	this.length = n
	return this
}
monthNames = new MakeArray(12)
monthNames[1] = "ianuarie"
monthNames[2] = "februarie"
monthNames[3] = "martie"
monthNames[4] = "aprilie"
monthNames[5] = "mai"
monthNames[6] = "iunie"
monthNames[7] = "iulie"
monthNames[8] = "august"
monthNames[9] = "septembrie"
monthNames[10] = "octobrie"
monthNames[11] = "noiembrie"
monthNames[12] = "decembrie"
dayNames = new MakeArray(7)
dayNames[1] = "duminica"
dayNames[2] = "luni"
dayNames[3] = "marti"
dayNames[4] = "miercuri"
dayNames[5] = "joi"
dayNames[6] = "vineri"
dayNames[7] = "sambata"

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 + ", " + theMonth + " " + currentDate.getDate() + ", " + theYear
}