In a randomized trial , we compared 400 micrograms vaginal and buccal misoprostol every 3 hours for up to six doses for induction of labor at 13-24 weeks of gestation with a live fetus and intact membranes .