I finally understand how this menu system works. Learned more about LUA in the process so that is cool
![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
.
Anyway I found two major problems with your code. First, your functions must all be defined and coded before you reference them in the menu arrays (mainmenu & bridgemenu). In the case of the bridgemenu you were calling the array in the function before it was defined in code. So I forced a 2nd function call in the handlers area to B2(). Second in your bridge menu code (your line 20) you were referencing a menu that doesn't exist. You can get my edits of your code here:
http://pastebin.com/QuKQjAhG
Good luck!
And snooder thanks the LUA reference. Most other languages refer to something like this as a handle. LUA doesn't use that term which is why I couldn't find it.