var iframe=document.createElement('iframe'); iframe.src = "//ad.lomadee.com/banner/view?sourceId=38116638&dimension=27&width=970&height=90&method=1&advertisers=6094&tags=4719,4178,3600,3445,3596,4426,4453,4843,4979,4682,4436,3692,5065,5063,5077,5075,4986,576,4437,4982,4983,4541,4984,3706,4678"; iframe.style='width: 970px;height: 90px'; iframe.frameBorder = 0; iframe.width = "0"; iframe.height = "0"; iframe.allowTransparency = true; iframe.scrolling = 'no'; iframe.marginheight = '0'; iframe.marginwidth = '0'; document.write(iframe.outerHTML);