Detecting site size

A few kinds of size (screen resolution, document etc.).