Look under our Electrical Theory Topics for a topic called "4wire feed for 3 way switching". I think it is the same concept.