The other thing I'd add is try to steer clear of making negative comments about your ex in front of your children. My ex and I had an agreement never to do that and although it was difficult at times, it was definitely worth it in the long run.
From my own experience, you're going to lose friends and you're going to lose a lot of money. The friends that stick with you are the ones that you want to thank big time when you're through all this. Best of luck matey and I do mean that.