function tekst(adres) {
	 open (adres, 'textorg', 'toolbar=no,menubar=no,location=no,directories=no,top=0,left=0,status=no,scrollbars=yes,resizable=yes,width=200,height=500');
}	
function foto(adres,wid,hei,komentarz,tytul,okno) {        
		var wid2 = wid +60;
		var hei2 = hei +60;
 		var Win = window.open("",okno,'width=' + wid2 + ',height=' + hei2 + ',resizable=1,top=0,left=0,scrollbars=no,menubar=no');
		Win.focus()
		Win.document.write('<html><head><base href="http://yes.art.pl/"><meta http-equiv="content-type" content="text/html; charset=iso-8859-2"><title>',tytul,'</title></head><BODY bgcolor="#E0E8D0">');
 		Win.document.write('<center>');
	 	Win.document.write('<img src="',adres,'" width=',wid,' height=',hei,' vspace=5 border=1 alt="',tytul,'"><br clear="all"><font face="Arial CE, Arial" size="2" color="#000000">',komentarz,'<br><br><br><br><br></center></body></html>');
}	
		

nn4=(document.layers)? true:false;
ie4=(document.all)? true:false;

function pokaz(ident,dir) {
	if(nn4) {
		document.layers[ident].visibility = "show";
	} else if(ie4) {
		document.all[ident].style.visibility = "visible";
	}
	sciezka=dir;
}

function schowaj(ident) {
	if(nn4) {
		document.layers[ident].visibility = "hide";
	} else if(ie4) {
		document.all[ident].style.visibility = "hidden";
	}
}

function selecturl(s) {
	if (navigator.appName == "Netscape") {dir=sciezka} else {dir=''};
	var gourl = s.options[s.selectedIndex].value;	window.top.location.href = dir+gourl;
} 
