The family of a slain North Carolina mother reached an agreement Friday with her husband allowing them to keep custody of the couple's two children for 75 days.

The deal came just before a District Court judge was to hear testimony in the bitter custody battle over Nancy and Brad Cooper's daughters, 4-year-old Bella and 2-year-old Katie.

Nancy Cooper, 34, was murdered earlier this month, her scantily clad body found in a cul-de-sac near her Cary, N.C. home. She disappeared on July 12, when her husband said she'd gone jogging; a man walking his dog discovered her dead two days later.

Click here for photos.

Police have not named a suspect or person of interest in her killing. She and Brad Cooper had reportedly been on the brink of separation.

Under the deal, Cooper's Canadian parents — who won temporary emergency custody of the girls last week — will keep them until Oct. 13, when a judge will again reconsider the arrangement.

They will be able to take the children to their home in Edmonton, Alberta, Canada, but are required to return them for two supervised weekend visits with their father.

Brad Cooper and Nancy's parents agreed to place Web cameras inside their houses and promised not to discuss the murder or insult each other in front of the girls.

The custody hearing had been scheduled for 2 p.m. EDT on Friday before Wake District Court Judge Debra Sasser. Minutes beforehand, attorneys for Brad Cooper filed a motion to dismiss the case.

Both sides duked it out in contentious affidavits ahead of the proceedings, which promised to be nasty had they gone forward as planned.

Lawyers for Brad Cooper accused Nancy Cooper of having an extramarital affair and her family of implicating him in her murder. They asked that the autopsy findings be released.

Nancy Cooper's family attorney filed several affidavits late Wednesday containing statements from friends and neighbors claiming Brad Cooper was emotionally abusive, controlling, absent and socially awkward.

They also accused him of having several extramarital affairs.

Howard Kurtz and Seth Blum took issue with a petition filed last week by Nancy Cooper's family claiming that Brad posed a danger to the children and was emotionally abusive to his wife. They argued the claim insinuated that 34-year-old Brad killed Nancy.

Last week, a judge gave temporary emergency custody of the children to Nancy Cooper's parents Garry and Donna Rentz and her twin sister Krista Lister.

Jessica Adam, a friend of Nancy's who reported her missing July 12, has suggested she believes Brad Cooper had something to do with his wife's death.

Police in Cary, N.C., have indicated they believe the crime was isolated. They say Brad Cooper has been cooperative in the investigation, which involved a search of the couple's house and two vehicles, and collection of DNA samples from Cooper.

Among other allegations in the affidavits: Nancy Cooper had run up a hefty credit card debt.

Also Wednesday, hundreds of family members and friends gathered in her Canadian hometown of Edmonton, Alberta for a memorial service.

Click here for more on this story from WRAL.com.

On Tuesday, newly released tapes of 911 calls made to report the disappearance of Nancy Cooper revealed Jessica Adam's concern over the fact that the Coopers were going through a divorce. In the call, Adam wondered aloud whether "he might have done something, God forbid."

A second recording released by police was of the man who found Cooper's body calling to report the discovery.

Cary police were required to release the tapes to comply with state public records law.

Click here for audio of the 911 call made to report Nancy Cooper missing.

Click here for audio of the 911 call made to report the discovery of Cooper's body.

The Associated Press contributed to this report.