Using a Registry Editor such as Regedt32.exe, open this key:
1. Find the DWORD value called “MaxScriptStatements” under this key and DELETE THE KEY.
If the key has not been added, the default threshold limit for the time-out dialog box is 5,000,000 statements for Internet Explorer 4 and later.
Because the Internet Explorer 4.0, 5.0, 6, and 7 time-out is based on the number of script statements executed, the time-out dialog box will not
display during ActiveX control or database-access delays. Endless loops in script will still be detected