changing iframe to window, complete