Ok so I left my desktop pc alone, unplugged, for a couple months, and when I came back and plugged it back in, it started emitting a high pitched squealing noise, and when I pushed the power button, it wouldn't turn on. So I opened it up, plugged it in, and tried to find the source of the squealing. It was coming from the power supply, so I gently moved aside some cords, and sparks started flying. So I unplug the power quick, and open up the power block to see the circuit board, and there's some fried resistors and a couple other things I didn't recognize (I'm a CS major, not EE). So my plan was to get an identical power supply circuit board, and one by one take out the wires that were soldered to the old power supply and put them on the new on in the same spot (I know how to solder). My questions are these:
Should this cause any problems I'm not realizing?
How can i figure out what the exact model power supply I have?
I have pics if needed.
EDIT:
http://www.facebook.com/photo.php?pid=31250267&l=c6f7362b27&id=1451040195
http://www.facebook.com/photo.php?pid=31250268&l=ce359acf24&id=1451040195
http://www.facebook.com/photo.php?pid=31250269&l=d06a36d300&id=1451040195
http://www.facebook.com/photo.php?pid=31250270&l=da49cf4346&id=1451040195