Magnetic properties of amorphous alloys