function startRequest()
{
  taTrescText = document.getElementById('taTresc').value;
  tfAdresText = document.getElementById('tfAdres').value;

  var btnWyslij = document.getElementById('btnWyslij');
  btnWyslij.disabled = true;

  url = "http://localhost/dane.php?tresc=" + taTrescText;
  url += "&adres=" + tfAdresText;
  url = encodeURI(url);

  startGETRequest(url, onComplete, onEnd);
}
