Event coordinates in JavaScript

Make it so that when the mouse moves across the page, the cursor coordinates are displayed, similar to how it's done in the following sample:

enru