If your sure that its wired correctly then I'm stumped. Hopefully someone will chime in with some actual help.
It couldn't hurt to check the fuses. Now that I think about it clicking is usually related to the lift mechinism being stripped. Pull of the door panel and take a look around, hit the window button with the panel off and it'll make it easy to see where its coming from.