17th Tammuz and "The Three Weeks"

A Halakhic Overview
What is the deal with the 17th Tammuz and the "Three Weeks" that follow it? Where do these originate? What practices are observed? How optional or required are they? An essay for the Center for Jewish Law and Values.