setTimeout(function(){ var contenedor = document.getElementById('ContactoSalesUp'); var iframe = document.createElement('iframe'); var style = document.createElement('style'); style.type = 'text/css'; var css = " iframe#SalesUpiFrame {border:0px;} "; lancho = 0; if (style.styleSheet){ style.styleSheet.cssText = css; } else { style.appendChild(document.createTextNode(css)); } iframe.id = "SalesUpiFrame"; iframe.frameBorder = false; iframe.style.frameBorder = "0"; iframe.src = 'https://control.salesup.com.mx/webservices/fenix/integra/iframe_data.dbsp?t=HMDB8DD1C1-80F4-4F73-922E-5C4D82D9D340&lancho='+lancho; iframe.height = '435'; iframe.width = '400'; contenedor.appendChild(iframe); contenedor.appendChild(style); }, 1250);