Yes the diagram by S. Petrukhin is correct, though there are only 2 outputs used. The lights are run on half wave rectified DC, so you can run any sort of lamp you want, provided power draw per string is under 100mA, and it will work off DC. Typically 20 12V incandescent lamps in series, or 60 white LED's in series, with a resistor of 220R every 5 lamps to limit current, also in series with the lamps. This is for 230VAC use, for 120VAC you use half the number of lamps or LED's.