Put a piece of masking tape on each wire, while they are connected.
Mark each wire with a number. For example: the black wires could be 1. White could be 2, etc.
So when you go to put them back together you will have two wires with the same number, connect those together.
I know they sell rolls of number for this type of thing, but for a one time use, the tape might work!
Good luck! -Steve
© 2016 Renovate Your World LLC