document.write('
'); var iframe = document.createElement('iframe'); var html = 'http://webstars2k.com/bdisplays.php'; iframe.src = encodeURI(html); iframe.style.width = '485px'; iframe.style.height = '156px'; iframe.scrolling='no'; iframe.style.overflow='hidden'; iframe.style['border']='0px dashed black'; document.getElementById('webring').appendChild(iframe); console.log('iframe.contentWindow =', iframe.contentWindow);