Britney Spears BSpearsPump102308x.jpg Britney Spears and Kevin Federline have finally ironed out the details of how Sean Preston and Jayden James will spend their time while their mom embarks on her world tour.

TMZ reports that Jamie Spears and K-Fed have both signed a document that okays Britney taking the boys on tour with her this spring. While Britney is on the road, the boys will follow her to three home bases (AKA rented homes in New Jersey and New Orleans, along with her pad in Los Angeles), and Brit will commute back and forth to each spot in between gigs. Additionally, K-Fed will be getting $5,000 per week, and while it's assumed that he'll be with the boys most of the time, he'll get paid even if he doesn't show up.

The document that Jamie and K-Fed signed is also a big step forward - Britney will now get the boys three days and nights a week until she wraps up her Circus tour. Even though Brit and her former hubby don't technically have joint custody, this new deal is essentially the same thing...for now anyway.

We bet she's happy about this development!