var container = document.getElementById("tiempo_2b97df3e4c6e5bd8a2d23b30bcab75df"); container.style.cssText = "width: 300px; overflow: auto; background-color: #fff;"; var divs = container.getElementsByTagName("div"); ifr = divs[0]; ifr.id = "ifr_2b97df3e4c6e5bd8a2d23b30bcab75df"; ifr.style.cssText = "height:339px;"; footer = divs[1]; footer.style.cssText = "background-color: #fff; padding: 5px 10px; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 11px;"; var lnks = footer.getElementsByTagName("a"); if (typeof lnks[0] != "undefined") { linkLogo = lnks[0]; linkLogo.setAttribute("rel", "nofollow"); } if (typeof lnks[1] != "undefined") { link = lnks[1]; link.style.cssText = "font-size: 11px; color: #aaa;"; link.setAttribute("rel", "nofollow"); } elem = document.createElement("iframe"); elem.id = "2b97df3e4c6e5bd8a2d23b30bcab75df"; elem.src = "//www.tiempo.es/widiframe/es/ver/300/339/110/es0ma0079/2b97df3e4c6e5bd8a2d23b30bcab75df.html"; elem.frameBorder = 0; elem.allowTransparency = true; elem.scrolling = "no"; elem.style.cssText = "width:100%; height:339px;"; ifr.appendChild(elem);