ECMAScript Menu System
http://juicystudio.com/article/ecmascriptmenu.php