The behavior of magnetic systems with dilution