'top.document.documentElement' is null or not an object


This is due to Java script files using same named variables as those used by the Microsoft.NET AJAX Library. Hence causing the error

‘top.document.documentElement’ is null or not an object

http://forums.asp.net/t/1069161.aspx