The code should be:
WA_eCart_DisplayMoney($CCICart,$CCICart->GrandTotal())
not just:
WA_eCart_DisplayMoney($CCICart->GrandTotal())
That may solve most of the problems. The javascript error inside dreamweaver can probably be resolved by deleting your winfilecache .dat file in your dreamweaver user's configuration folder.