Antiferromagnetism of CuO2layers