Ed Hall just wrote another great article with some advice on how to train a dog not to bark. Check it out:
Eliminating Barking Through Training