BROOKLYN - Mayor Michael Bloomberg and City Council Speaker Christine Quinn reached an agreement last night to restore $300 million for next year's budget, saving some services that were set to be eliminated. Under the deal, 20 firehouses will be saved that were expected to be shut down. All city pools will remain open and libraries will be open five days a week, instead of six. There will still be some senior center and day care centers that are closed, in addition to city layoffs. Due to the increase in funds, there will no longer be teacher layoffs, but 2,000 jobs will be lost through attrition. The city's fiscal year begins on July 1.