How do I lock the orientation to portrait mode in a iPhone Web Application?

I’m building a iPhone Web Application and want to lock the orientation to portrait mode. is this possible? Are there any web-kit extensions to do this?

Please note this is an application written in HTML and JavaScript for Mobile Safari, it is NOT a native application written in Objective-C.

How do I lock the orientation to portrait mode in a iPhone Web Application?