HEad light switch and wires

thanks, but there don't seem to be 3 blacks and the block seems melted a bit..the problem, is when i connect the wires, the dimmer coil GLOWS RED... that can't be good lol

I did download the diagrams and tried to trace it out, I was hoping for an actual picture of the connector... maybe i could just buy a new connector?