Written by Simon Berg <ksb@nada.kth.se>

Some code may have been borrowed from the PalmOS SDK examples:
Copyright (c) 1994-1999 Palm Computing, Inc. or its subsidiaries.
All rights reserved.
