see
http://www.onlinepot.org/grow/wiringlights.htm

btw, if a transformer fails, make sure the capacitor is good, or even better yet, just replace it. A bad capacitor will cause a new trans to shit the bed and they're cheap enough.

Shov