This sample demonstrates the use of closure functions with the setInterval method.
[Right-click and choose View Source from the shortcut menu.]