function reloadCaptcha(){
  var req = mint.Request();
  req.AddParam("capMe","true");
  req.OnSuccess = function(){
    document.getElementById('imgCaptcha').src="captcha.php5?tok="+new Date().getTime();
    czyCaptcha();
  }
  req.Send("captcha.php5");
}
var porownajCaptcha="";
function czyCaptcha(){
  var req = mint.Request();
  req.OnSuccess=function(){
    porownajCaptcha=this.responseText;
  }
  req.Send("ustawCaptcha.php");
}
function getCaptcha(){
  var req = mint.Request();
  req.OnSuccess=function(){
    return this.responseText;
  }
  req.Send("ustawCaptcha.php");
}
