Looking for a iTouch USB cord wiring diagram? Repairing the USB cord

Hey, I have two old USB cords form my iPod Touch laying around, and I took one apart to find that two of the wires simply pulled free of the part that goes into the iPod. I'm not willing to risk blindly soldering them back on and hopefully not frying my iPod to test it out, without at least a few tips as to which wire goes where. Could anyone help me? The four wire colors are green, blue, orange, and white. Orange and white are the ones that pulled free.

Thanks :)