/*
 * Object EODate used to display curent date and time in HTML. Write by DEUTER, @ 2002 EO Networks sp. z o.o.
 */
function EODate() {
	this.d = new Object();
	this.d[0]="niedziela";
	this.d[1]="poniedziałek";
	this.d[2]="wtorek";
	this.d[3]="środa";
	this.d[4]="czwartek";
	this.d[5]="piątek";
	this.d[6]="sobota";
	this.m = new Object();
	this.m[0]="stycznia";
	this.m[1]="lutego";
	this.m[2]="marca";
	this.m[3]="kwietnia";
	this.m[4]="maja";
	this.m[5]="czerwca";
	this.m[6]="lipca";
	this.m[7]="sierpnia";
	this.m[8]="września";
	this.m[9]="października";
	this.m[10]="listopada";
	this.m[11]="grudnia";
	this.getDate=getDate;
	this.getTime=getTime;
	this.getTimeString=getTimeString;
	this.getDay=getDay;
	this.getDayName=getDayName;
	this.getMonth=getMonth;
	this.getYear=getYear;
	this.getMonthDayFullString=getMonthDayFullString;
	function getDate() {
		n=new Date();
		y=n.getYear(); 
		if (navigator.appName == "Netscape") y+=1900;
		document.writeln(this.d[n.getDay()] + ", "+n.getDate() + " " + this.m[n.getMonth()] + " " + y);
	}
	function getTimeString() {
		n=new Date();
		return n.getHours()+":"+((n.getMinutes()<10)?"0"+n.getMinutes():n.getMinutes())+"."+((n.getSeconds()<10)?"0"+n.getSeconds():n.getSeconds());
	}
	function getTime() {
		document.writeln(this.getTimeString());
	}
	function getDay() {
		n=new Date();
		return n.getDate();
	}
	function getDayName() {
		n=new Date();
		return this.d[n.getDay()];
	}
	function getMonth() {
		n=new Date();
		return this.m[n.getMonth()];
	}
	function getYear() {
		n=new Date();
		y=n.getYear(); 
		if (navigator.appName == "Netscape") y+=1900;
		return y;
	}
	function getMonthDayFullString() {
		n=new Date();
		return ((n.getMonth()<9)?"0"+(n.getMonth()+1):(n.getMonth()+1))+"-"+((n.getDate()<10)?"0"+n.getDate():n.getDate());
	}
}
