Email Post: Switching of spins and entanglement in surface-supported antiferromagnetic chains