I hope you can help me on to the next problem!

I need to enter a ladder to a tower (not considered wide). What is the minimum height of the door (h) that makes this possible?

http://img232.imageshack.us/img232/5692/ladder.gif

How I can solve this problem?

Thanks!!