Keep the crate next to your bed and have a spray bottle filled with water handy. Soon as he starts barking say "no" firmly while at the same time spraying him with the bottle. If you keep doing this he should eventually get it and saying "no" will be enough to make him stop. This will interfere with you sleep for a while but it may work.

Digital Paint Pet Portraits
http://dogshop.50webs.com