Neonates were eligible for this study if they were admitted to the participating NICUs within @ days of postnatal age , and needed noninvasive respiratory support after a period of mechanical ventilation with an endotracheal tube .