Iframe method: Please explain this code