function showInfoText()
{
alert("Uwaga!Duży ruch w serwisie.Połączenie z serwerem nastąpi w ciągu 10 sekund");
}

function otworz_scroll(adres) 
	{

noweOkno = window.open(adres, '', 'menubar=no, toolbar=no, location=no, scrollbars=yes, resizable=no, status=no, width=850, height=850');
return false;

	}

function otworz(adres) 
	{

noweOkno = window.open(adres, '', 'menubar=no, toolbar=no, location=no, scrollbars=no, resizable=no, status=no, width=750, height=750');
return false;

	}

function loadImages() 
{
	if (document.getElementById) 
		{  // DOM3 = IE5, NS6
			document.getElementById('hidepage').style.visibility = 'hidden';
		}
else 
		{
			if (document.layers) 
				{  // Netscape 4
					document.hidepage.visibility = 'hidden';
				}
			else 
				{  // IE 4
					document.all.hidepage.style.visibility = 'hidden';
				}
		}


}

function big(lyr) 
	{
	document.all[lyr].style.height='180px'; 
	}

function small(lyr) 
	{
	document.all[lyr].style.height='32px';
	}

function start() 
	{
	document.all.Layer1.style.height='32px';
	document.all.Layer2.style.height='32px';
	document.all.Layer3.style.height='32px'; 
	document.all.Layer4.style.height='32px'; 
	document.all.Layer5.style.height='32px'; 
	}	

function checkEmail()
{
  var email = document.forms.pole_logowania.login.value;
  var re = /^[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)*@([a-zA-Z0-9_-]+)(\.[a-zA-Z0-9_-]+)*(\.[a-zA-Z]{2,4})$/i;
  if(email.match(re) == null)
      alert('Proszę poprawić adres e-mail - wpisany adres wydaje się być nieprawidłowy');
}


<!-- Original:  Darko Egersdorfer (darkoe@za.bynx.com) -->

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin

function promptSearch (thisform, thisfield) 
{
var elnum = parseInt(-1);
var k = parseInt(-1);

for (var j = 0; j < document.forms[thisform].elements.length; j++) 
	{
		if (document.forms[thisform].elements[j].name == thisfield) 
			{
			elnum = j;
			break;
			}
	}

var myvar = "";
var srch = "";
var menuLength = "";
var zgoda=	"";
var kontroler= "";
menuLength = eval("document." + thisform + "." + thisfield + ".length");
srch = prompt("wyszukiwanie kategorii-(użyj jednego słowa w liczbie mnogiej)", "");
if (srch ) 
	{
		srch = srch.toUpperCase();
				for (var i = 0; i < menuLength; i++) 
					{
					myvar = eval("document." + thisform + "." + thisfield + ".options[" + i + "].text.toUpperCase()");
						if (myvar.indexOf(srch) >= 0) 
							{
							zgoda = confirm("Znalazłem wyrażenie:" + myvar + ".Zaprzestać wyszukiwania?");
							if(zgoda == true)
								{
								document.forms[thisform].elements[elnum].options[i].selected = true;
								break;
								}
							}
					}
if(zgoda == true)
		{
		}
else
		{
		alert("Nie znalazłem " + srch + ".Proszę zmodyfikować poszukiwany wyraz");
		}
	}
return false;
}
//  End -->

