Correct. And once that is fixed, you have a new problem. To solve it yourself, you need to use a browser that tells you where the problem is.
Do use one that indicates not only the line number of the error, but also the correct line number, and provides a meaningful error message. Firefox is my favorite, and if nothing else, IE7 does not meet these requirements. IE8 might actually get the line numbers right, but its error messages are often not as clears as FF's, and I still find it so much worse that I only ever use it to debug things when they allready work in every other browser.
In this case, using Firefox, I'd get an error message like
Error: array is not defined
Source file: http://example.com/file.php Line N
Clicking on http://example.com/file.php takes me to the source code with the appropriate line highlighted, i.e.
var rbName =new array();
And suddenly there is very little code to look at to find the error. Doing the same should let you find your "form" error.
Edit: just reread and reazlied you are using FF. Anyway, for these problems, I stick to the error console rather than Firebug.