var casTimeOut = null;
var divECHO = "divEcho";

function zobrazEcho(){
  var echo = document.getElementById(divECHO);
  if(echo){
    casTimeOut = setTimeout(zavriEcho, 3000);
    echo.style.display = 'block';
  }
}

function zavriEcho(){
  var echo = document.getElementById(divECHO);
  if(echo){
    clearTimeout(casTimeOut);
    echo.style.display = 'none';
  }
}

