<!-- 
	function zmien(co) {
		document.images[11].src = "images/twarze/tw_" + co + ".jpg";
	}

	function powrot() {
		document.images[11].src = "images/twarze/tw_1.jpg";
	}
	
	function makevisible(cur,which){
	if (which==0) 
		cur.filters.alpha.opacity=100;
	else
		cur.filters.alpha.opacity=80
	}
	
	function laduj() {
	var d=document;
  	if(!d.lad) { d.lad = new Array(); }

	var i,j = 0;
	var a = laduj.arguments;
	for(i=0; i<a.length; i++)
		{ d.lad[j] = new Image; d.lad[j++].src=a[i];
		  window.status = (i+1) + "/" + a.length; }
	window.status = "";
	}
	
function PokazOkno(img,opis,width,height)
{
	if (navigator.appName=="Microsoft Internet Explorer")
	{
		okno=createPopup();
		okno.document.body.innerHTML='<html><body style="background:"><table rules="groups" align="center" bgcolor="#FED65D" bordercolor="#731F02" border="1" cellspacing="1" cellpadding="0" width="100%" height="100%" style="background: #FED65D url(images/telko2.gif) repeat-y; font-family: Arial CE; font-size:9pt;"><tr><td valign="top" style="background: #8E0300 url(images/galeria/wait2.gif) no-repeat center;" height="250"><img src="'+img+'"></td></tr><tr><td align="center">'+opis+'</td></tr><tr><td align="center"><a onClick="window.blur();" href="#" style="text-decoration:none; color: #B05800;"><i><b>Zamknij</b></i></a></td></tr></table></body></html>';
		okno.show((screen.width/2)-242,(screen.height/2)-207,width,height);
	} else {
window.open('gal.php?img='+img+'&opis='+opis,'','width='+(width-5)+',height='+(height-30)+',top='+((screen.height/2)-207)+',screenY='+((screen.height/2)-207)+',left='+((screen.width/2)-242)+',screenX='+((screen.width/2)-242)+',toolbar=no,status=no,location=no,directories=no,menubar=no,scrollbars=no,resizalbe=no');
	}
}

function check(f) {
	if ((f.tresc.value=="") || (f.autor.value==""))
	{
		alert("Pole z treścią lub podpis nie mogą być puste!");
	} else {
		f.submit();
	}
}
//-->