You're lucky it hasn't gone 'bang' yet. If you keep swopping wires over for long enough, it will! Seriously, you need to understand what the wires are first. Unless your wiring is very old and dodgy, the reason why the light dimmed is because you've conncted it in series with the other lighting circ...