View source to see the code. This example follows the code in the example.