Dialog
Top Switch
Blank windows: Cover the page with a semi-transparent mask, pop up the middle dialogue box and return to the original page after closing.
Interactive demo: open this page in a JavaScript-enabled browser to drag the parameters and watch the live readouts.