Type of brain damage and intellectual functioning in children.