Some results on the Einstein-Yang-Mills equations