look into your scripting.
some of the code which may be ruuning fine in IE is not supported by firefox. for eg.
Dialog.confirm($('login').innerHTML
instead try to use
Dialog.confirm($('login').innerText
You will find the code regarding the same in google. I was also facing the same problem.