function Months(){
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", "W", "Śr", "Cz", "Pt", "S", "N");
}
function Calendar(){
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 cellPadding=2 width=335 align=center border=0>");
document.write("<TR><TH colspan=7><NOBR><SPAN class='kalM'>&nbsp;\> "+Czas.Nazwa[Teraz.getMonth()+1]+"&nbsp;"+Rok+" \<&nbsp;</SPAN></NOBR></TH></TR><TR>");
for (i=1; i<=7; i++) {
document.write("<TH");
if (i==7) document.write(" bgcolor=#EDC3A6");
document.write(" bgcolor=#F5F5DC><SPAN class='kalT'>"+Czas.Dzien[i]+"</SPAN></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=#9bc6ae");
if (Kolumna==6) document.write(" bgcolor=#FFDAB9");
document.write("><SPAN class='kalD'>"+i+"</SPAN></TH>");
Kolumna++;
if (Kolumna==7) {
document.write("</TR><TR>");
Kolumna=0};
};
document.write("</TR></TABLE>");
}
function Modyfikacja(){
document.write("Ostatnia aktualizacja strony została przeprowadzona dnia: <B>29 maja 2006</B> (<i>strona w przebudowie</i>") 
}
var tl = "***    Serdecznie witamy na stronie www.ozzpboait.org    ***";
var width=153;
var pos=1-width;
var l=tl.length;
function textticker(){
pos++;
scroller="";
if (pos==l) { pos=1-width;}
if (pos<0) {for(i=1; i<=Math.abs(pos);i++) {scroller=scroller+ " "}
scroller=scroller+tl.substring(0,width-i+1);
}else
{scroller=scroller+tl.substring(pos,width+pos); }
document.tickform.tickfield.value=scroller;
setTimeout("textticker()",92);
}

