Senior 2.1

(function (w, d, iframeHolder) { var iframeHolder = document.getElementById(iframeHolder); if (!iframeHolder) { if (window.console) { console.log("Kontejner pro iframe neexistuje."); } return false; } var hash = window.location.hash; var lpURL = 'https://electroworld-senior.production.dntp.cz' + hash; var iframe = document.createElement("iframe"); iframe.setAttribute("src", lpURL); iframeHolder.appendChild(iframe); })(window, document, 'iframeHolder');