<!--
// SCROLL FNC
	var szer="100%";
	var wys=130;
	var kolor='f1f1f1';
	var czas=2000;
	var margines=30;
	var wiad=new Array();

if (wiad.length>1) i=2; else i=0;
function fIE1(co) {
	warstwaIEa=eval(co);
	if (warstwaIEa.style.pixelTop>0 && warstwaIEa.style.pixelTop<=5) {
		warstwaIEa.style.pixelTop=0;
		setTimeout("fIE1(warstwaIEa)",czas);
		setTimeout("fIE2(second2)",czas);
		return;
		}

	if (warstwaIEa.style.pixelTop>=warstwaIEa.offsetHeight*-1) {
		warstwaIEa.style.pixelTop-=5;
		setTimeout("fIE1(warstwaIEa)",100);
	} else {
		warstwaIEa.style.pixelTop=wys+margines;
		warstwaIEa.innerHTML=wiad[i];
		if (i>=wiad.length-1) i=0; else i++;
	}
}; // Koniec fIE1

function fIE2(co) {
	warstwaIEb=eval(co);
	if (warstwaIEb.style.pixelTop>0 && warstwaIEb.style.pixelTop<=5) {
		warstwaIEb.style.pixelTop=0;
		setTimeout("fIE2(warstwaIEb)",czas);
		setTimeout("fIE1(first2)",czas);
		return;
		}

	if (warstwaIEb.style.pixelTop>=warstwaIEb.offsetHeight*-1) {
		warstwaIEb.style.pixelTop-=5;
		setTimeout("fIE2(second2)",100);
	} else {
		warstwaIEb.style.pixelTop=wys+margines;
		warstwaIEb.innerHTML=wiad[i];
		if (i>=wiad.length-1) i=0; else i++;
	}
}; // Koniec fIE2

function startNazywo() {
	if (document.all) {
		fIE1(first2);
		second2.style.top=wys+margines;
		second2.style.visibility='visible';
	};
}; // end of startNazywo


// OTHER FNC

function zgas(DIVname) {
	if(document.all) { document.all[DIVname].style.visibility="hidden";}
	if(document.layers) { document.layers[DIVname].visibility="hide";}
};

licz=0;
function drukuj(nazwa,szer,wys) {
config='left=100,top=100,width='+szer+',height='+wys+',innerheight='+wys+',innerwidth='+szer+',toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no';
tekst='okno' + licz;
stadion=window.open(nazwa,tekst,config)
stadion.focus();
licz+=1;
};

function otworz(nazwa,szer,wys) {
config='left=100,top=100,width='+szer+',height='+wys+',innerheight='+wys+',innerwidth='+szer+',toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no';
tekst='okno' + licz;
stadion=window.open('',tekst,config)
stadion.document.write('<HTML><HEAD>');
stadion.document.write('<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">');
stadion.document.write('<TITLE>B A D M O R</title>');
stadion.document.write('<script language="javascript">');
stadion.document.write('setTimeout(');
stadion.document.write('"self.close()');
stadion.document.write(';",70000)');stadion.document.write('</');
stadion.document.write('script>');
stadion.document.write('</HEAD>');
stadion.document.write('<body bgcolor=white leftmargin=0 topmargin=0 marginheight=0 marginwidth=0>');
stadion.document.write('<DIV align=center><a href=# onclick="javascript:self.close();"><img src='+nazwa+' border=0></A></DIV>');
stadion.document.write('</body></html>');
stadion.focus();
licz+=1;
};

liczOnClick=0;
function otworzOnClick(nazwa) {
        ttop=screen.width;
        lleft=screen.height;
config='left='+lleft+',top='+ttop+',width=100,height=100,innerheight=100,innerwidth=100,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes';
tekst='okno' + liczOnClick;
stadion=window.open('plik.html?nazwa='+nazwa,tekst,config);
stadion.focus();
liczOnClick+=1;
}
//-->
