Keri Barry, of Wayne, talks to her attorney John Bruno Jr. on the right and Jonathan Bruno at the Passaic County Courthouse in Paterson.

Pretrial hearings continued Thursday in the case of a Wayne woman who is scheduled to go to trial in two weeks on charges that she killed her newborn son four years ago.

Passaic County prosecutors and attorneys for Keri Barry argued in a Paterson courtroom over whether Barry’s emails and Internet searches before and after the child’s birth in February 2009 should be admitted at trial.

Judge Raymond Reddin had ruled last month that a jury will be allowed to consider instant messages in which Barry talked about wanting to end her pregnancy.

Prosecutors said Barry, 26, of Alps Road, was home alone when she gave birth to a baby boy on Dec. 11, 2009, and did not seek medical attention. Her family later took her to a hospital and found out that she had recently given birth, they said.

Police were then notified and searched Barry’s home, taking away garbage bags left outside the house that investigators believed contained the afterbirth, prosecutors said. Later, police searched the bags, discovering the baby’s body and raising questions about whether the child could have been alive when the bags were found. An autopsy determined that the cause of death was asphyxiation, prosecutors said.

Barry told police she believed the baby was stillborn, but said after further questioning that the baby may have gurgled or moved his lips before she placed it in a trash bag and tied it.

Her attorney, John Bruno, has argued that Barry’s latter statement was coerced out of her through five hours of interrogation by police.

Robert Pringle, an assistant Passaic County prosecutor, argued on Thursday the jury should consider evidence of Internet searches in which Barry, months before giving birth to the baby, looked for answers to questions like, “What causes stillbirth?” and “What happens to placenta after birth?”

“It speaks to her intent,” Pringle said.

Bruno, meanwhile, said those searches should be excluded from evidence because the searches were done on a family-owned computer and that it is not known who did the searches.

“This would just open the door to a whole host of speculation,” Bruno said. “It’s just not good evidence.”

Redding is expected to rule on those issues as the hearing continues next week. Jury selection is scheduled to begin April 8.