Moving from iframe to object