Curie temperature for an alternating magnetic superlattice