I Googled the problem and came up with these results-
something there should be helpful to you.
https://www.google.com/search?q=Imac...w=1360&bih=669
Does the Imac have a restore system, like windows, so you can set it back to a time or date before the problem happened?
(NOT a complete system restore to like new)