Recently my Dreamweaver (CS 4) started throwing me JavaScript errors every time I opened and closed the application. After some research I discovered a solution that worked for me. Here’s are the steps to fix the problem:
1. Start->Run->App Data or Locate your App Data Folder (in Vista: C:\Users\Your Windows Username\AppData\)
2. Open: Roaming->Adobe->Dreamweaver CS4->en_US->Configuration
(Complete Path: C:\Users\Your [...]