<!--
function potwierdzenie(tekst, adres)
{
  var sprawdz = window.confirm(tekst);

  if(sprawdz == true)
  {
    if(adres != '') document.location.href = adres;
    return true;
  }
  else return false;
}


function rolka(x)
{
   el = document.getElementById(x);
   if(el.style.display == 'none')
     el.style.display = 'block';
   else
     el.style.display = 'none';     
} 

function zwin(y)
{
	 el = document.getElementById(y);
	 if(el.value == 'pokaz')
		el.value = 'ukryj';
	else
		el.value = 'pokaz';

}

function getRandomNum(lbound, ubound) {
return (Math.floor(Math.random() * (ubound - lbound)) + lbound);
}
function getRandomChar(number, lower, upper, other, extra) {
var numberChars = "0123456789";
var lowerChars = "abcdefghijklmnopqrstuvwxyz";
var upperChars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
var otherChars = "`~!@#$%^&*()-_=+[{]}\\|;:'\",<.>/? ";
var charSet = extra;
if (number == true)
charSet += numberChars;
if (lower == true)
charSet += lowerChars;
if (upper == true)
charSet += upperChars;
if (other == true)
charSet += otherChars;
return charSet.charAt(getRandomNum(0, charSet.length));
}
function getPassword(length) {
var rc = "";
if (length > 0)
rc = rc + getRandomChar(true, true, true, false, '');
for (var idx = 1; idx < length; ++idx) {
rc = rc + getRandomChar(true, true, true, false, '');
}
return rc;
}


-->