I have a page which contains multiple forms. I am calling a function localize() like`<body onload = 'localize()'>`. 

Inside localize() function when I am using `aForms[0] = document.getElementById('form1');`
(aForms is an array to store all the form elements).

For the first form it works,but for subsequent forms it is getting null values in IE10.
This page was working fine with IE8 and IE9.

Forgot to mention my page is inside a frame.

Please help.