When programmers make mistakes, the computer user is given a choice to continue running the program (script) or not. Since these error notifications are about 99.99% programming related, there's not much you can do. Especially if you upgraded to IE7 by itself or Vista (which has IE7 as the default browser.)
From your desktop with no other programs running, click start > control panel > double click internet options. On the advanced tab, look under browsing and you should see two boxes to disable script debugging. Make sure they're both checked. Also, uncheck the box to display a notification for every error. This might minimize the number of errors you see.
On the general tab, click delete cookies, delete files (including offline content, and clear history one at a time. Answer Yes/OK when prompted. Restart your computer. Sometimes old cookies or temporary files can keep returning you to a script error page. Hope some of this helps.