How to set full screen iframe with height 100% in JavaScript?

How to set full-screen iframe with height 100% in JavaScript ? Given an HTML document containing an