Statistical mechanics of the liquid surface