Chapter 2 Example

This was from the reading in chapter 2 of the Beginning Java Script
book.