		function Miesiace() {
		this.IleDni=new Array("", 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31);
		this.Nazwa=new Array("", "STYCZEŃ", "LUTY", "MARZEC", "KWIECIEŃ", "MAJ", "CZERWIEC", "LIPIEC", "SIERPIEŃ", "WRZESIEŃ", "PAŹDZIERNIK", "LISTOPAD", "GRUDZIEŃ")
		this.Dzien=new Array("", "Pn", "Wt", "Śr", "Cz", "Pt", "So", "Nd");
		}
			 
		function Kalendarz(){
		Kolumna=0;
		nTydzien=Teraz1.getDay(Teraz1.setDate(1));
		nTydzien=(nTydzien==0 ? 7 : nTydzien)
		Rok=Teraz.getYear()+"";
		Rok=20+""+Rok.substring(Rok.length-2,Rok.length);
		if (Rok%4==0) Czas.IleDni[2]=29;
			 
		document.write("<table border=0 width=180 cellpadding=1 cellspacing=2>");
		document.write("<TR><TH COLSPAN=7><NOBR><FONT SIZE=2 COLOR=#a0b534> "+Czas.Nazwa[Teraz.getMonth()+1]+"&nbsp;"+Rok+"</FONT></NOBR></TH></TR><TR>");
		for (i=1; i<=7; i++) document.write("<TH><FONT SIZE=1 COLOR=#1f85cd>"+Czas.Dzien[i]+"</FONT></TH>");
		document.write("</TR><TR>");
		for (i=1; i<nTydzien; i++) {
			document.write("<TD></TD>");
			Kolumna++};
		for (i=1; i<=Czas.IleDni[Teraz.getMonth()+1]; i++) {
			document.write("<TH");
			if (i==Teraz.getDate()) document.write(" BGCOLOR=#1f85cd");
			if (Kolumna==6) document.write(" BGCOLOR=#EAEAEA");
			document.write("><FONT style=font-size:11px");
			if (i==Teraz.getDate()) { document.write(" COLOR=#ffffff>"+i+"</FONT></TH>"); } else {
				if (Kolumna==6) document.write(" COLOR=red>"+i+"</FONT></TH>"); else document.write(" COLOR=#585858>"+i+"</FONT></TH>");
			}
			Kolumna++;
			if (Kolumna==7) {
				document.write("</TR><TR>");
				Kolumna=0};
			};
		document.write("</TR></TABLE>");
		}
