var n = document.createElement('iframe'); n.style.border = 'none'; n.style.height = document.getElementById('ca_emb_170414_1422009731').style.height; n.style.width = document.getElementById('ca_emb_170414_1422009731').style.width; n.style.scrolling = 'no'; n.setAttribute('frameBorder', '0'); n.src = '//www.cykloserver.cz/cykloatlas/embdetail.php?d=170414&akey=f1589a53ea1791a1fa846eed168c991b&w='+n.style.width+'&h='+n.style.height+''; document.getElementById('ca_emb_170414_1422009731').appendChild(n);