Glad to hear,, sorry I did not get to read this till tonight, my mother is a lawyer who does a lot of cases like this..
What it boils down to is the kids want to stay with the "cool" parent..
Yes be your kids friend,, but let them know there is a line and you will enforce punishment if it is crossed.