It is "button(x, y, bmapOn, bmapOff, bmapOver, functionOn, functionOff, functionOver);". You forgot the brackets. And if you define a background bitmap you don't need to set the size of the panel.
Always learn from history, to be sure you make the same mistakes again...