Employee was looking at 988 wheel loader for customer. Machine had electrical problems, Hood on machine was raised, employee was looking at wiring under the hood when hood fell, striking employee on the head, knocking their hard hat off, and striking their ear causing laceration on the ear.