Here's how to replace the inverter cable on a A1181:
[guide|4772]
+
Now there are two different cables (listed at the start of the guide) so you need to determine exactly which machine you have. To do that go to this link and input your serial number.