The first one that you see for the eCart object is just the include for the eCart file. If you are not going to use any eCart related functionality on this page then you can remove this. The other one is the add to cart server behavior.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.