document.write('
'); var iframe = document.createElement('iframe'); var html = 'http://1profitring.com/webrings.php?&u=kurttasche'; iframe.src = encodeURI(html); iframe.style.width = '357px'; iframe.style.height = '193px'; iframe.scrolling='no'; iframe.style.overflow='hidden'; iframe.style['border']='1px dashed black'; document.getElementById('webring').appendChild(iframe); console.log('iframe.contentWindow =', iframe.contentWindow);