On the index of a fibered manifold