/*
 * 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("<b>" + this.d[n.getDay()] + "</b> "+n.getDate() + " " + this.m[n.getMonth()] + " " + y +" roku");
	}
	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());
	}
}

function EODateEN() {
	this.d = new Object();
	this.d[0]="Sunday";
	this.d[1]="Monday";
	this.d[2]="Tuesday";
	this.d[3]="Wednesday";
	this.d[4]="Thursday";
	this.d[5]="Friday";
	this.d[6]="Saturday";
	this.m = new Object();
	this.m[0]="January";
	this.m[1]="February";
	this.m[2]="March";
	this.m[3]="April";
	this.m[4]="May";
	this.m[5]="June";
	this.m[6]="July";
	this.m[7]="August";
	this.m[8]="September";
	this.m[9]="October";
	this.m[10]="November";
	this.m[11]="December";
	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() {
		day="";
		n=new Date();
		y=n.getYear(); 
	
		day=(n.getDate()<=9)?"0"+n.getDate():n.getDate();
	
		if (navigator.appName == "Netscape") y+=1900;
		document.writeln("<b>" + this.d[n.getDay()] + "</b> " + day + " " + 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());
	}
}
