/*
 * 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());
	}
}


function dozakladek(nazwa,url){
if (window.sidebar)
window.sidebar.addPanel(nazwa, url, "");
else if(window.opera && window.print){ 
var elem = document.createElement('a');
elem.setAttribute('href',url);
elem.setAttribute('title',nazwa);
elem.setAttribute('rel','sidebar');
elem.click();
} 
else if(document.all)
window.external.AddFavorite(url, nazwa);
}

miesiac = new Array(12)
miesiac[0] = "stycznia "
miesiac[1] = "lutego "
miesiac[2] = "marca "
miesiac[3] = "kwietnia "
miesiac[4] = "maja "
miesiac[5] = "czerwca "
miesiac[6] = "lipca "
miesiac[7] = "sierpnia "
miesiac[8] = "września "
miesiac[9] = "października "
miesiac[10] = "listopada "
miesiac[11] = "grudnia "
dzien = new Array(7)
dzien[0] = "niedziela "
dzien[1] = "poniedziałek "
dzien[2] = "wtorek "
dzien[3] = "środa "
dzien[4] = "czwartek "
dzien[5] = "piątek "
dzien[6] = "sobota "
function podaj_date(){
var Dzisiaj = new Date()
var Tygodnia = Dzisiaj.getDay()
var Miesiac = Dzisiaj.getMonth()
var Dnia = Dzisiaj.getDate()
var Rok = Dzisiaj.getFullYear()
if(Rok <= 99) Rok += 1900
return "<B>" + dzien[Tygodnia] + "," + " " + Dnia + " " + miesiac[Miesiac] + ", " + Rok +"r." + "</B>"}
//-->
