That trick involves booting the iMac and running certain software on it (a hack on VNC, basically), so it's not an option for you. Trying to figure out the video pinout, routing it to a regular DVI port and replacing the PSU with one that works is going to be more expensive than getting a new display, so don't bother.