There is a "list" object, which makes no sense in this example. The 'onMouseDown' function is associated with the 'list' object. The onMouseUp examples work fine. Perhaps you can copy this example to the "onMouseDown" and change the function from "onMouseUp" to "onMouseDown".