is this what you mean?
 $(function(){
  $("#map_canvas").css("height",($(window).height()*80/100) + 'px');
  initialize();
});

Modify function to display max windows height minus 20%
I have purchased some pre hung doors at 30" by 80"
the jambs are 4 5/8 wide. 
The house is 50 years old and the existing door frame is 5 1/4 wide.
Any solution as to how to fit these doors into the old frame.
