code: function (name, func)
          {
              if (typeof(ModalDialog.events) == 'undefined') {
                  ModalDialog.events = [];
              }
      
              ModalDialog.events.push([name, func]);
          }
docs: Returns the page height
  
  @return int The page height