I see that now. Strange placement for a return.

Anyway...concerning your problem. I would suggest putting a bunch of alert() calls in your code. Then, see exactly where Firefox is failing.