js code works in IE, Opera but not in Firefox

Printable View