Foreclosures, unemployment drive demand for shelters