iMacs are not really worth the trouble unless you *really* love it. And if you really love it make sure it's internal plastic is in good shape(or you can source a good part) before spending the time.
Also be careful with the headphone jacks on the front, apple mounted them stupid and you can damage the traces leading too (right beside) the solder joints with extreme use.(or retards abusing them)