A judge granted a new trial for a former substitute teacher convicted of allowing students to view pornography on a classroom computer. Prosecutors did not oppose the defense motion for a new trial for Julie Amero, 40, who had faced up to 40 years in prison after her January conviction.