conte = document.getElementById('cont_54f1e6d477c115f79021bb67335bca5d'); if (conte){ conte.style.cssText = 'text-align:center; width:207px; color:#ff0000; background-color:#ffffff; border:1px solid #ff0000;'; elem = document.createElement('iframe'); elem.style.cssText = 'width:207px; color:#ff0000; height:130px;'; elem.id = '54f1e6d477c115f79021bb67335bca5d'; elem.src = 'http://tiempo.meteored.com/getwid/54f1e6d477c115f79021bb67335bca5d'; elem.frameBorder = 0; elem.allowTransparency = true; elem.scrolling = 'no'; elem.name = 'flipe'; elem.style.height = '140'; conte.appendChild(elem); }