var _ouibounce = ouibounce(document.getElementById('modal-unbounce'), { cookieName: 'modalAgendas2019', cookieDomain: '.jus.com.br' }); var outOuibounce = document.documentElement; var modalOuibounce = document.getElementById('modal-unbounce'); var closeOuibounce = modalOuibounce.querySelector('.close'); var contentOuibounce = modalOuibounce.querySelector('.modal-content'); outOuibounce.addEventListener('click', function(e) { modalOuibounce.style.display = 'none'; }, false); closeOuibounce.addEventListener('click', function(e) { modalOuibounce.style.display = 'none'; }, false); contentOuibounce.addEventListener('click', function(e) { e.stopPropagation(); }, false); new LazyLoad();