Philadelphia has reached a preliminary agreement with Tom Gordon on an $18 million, three-year contract on Thursday, giving the team a replacement for departed closer Billy Wagner. Gordon also was negotiating with the New York Yankees and Cleveland Indians before agreeing to the deal with the Phillies. Philadelphia spokesman Larry Shenk confirmed there was a tentative deal, and the terms of the contract were disclosed to The Associated Press by two people familiar with the negotiations who spoke on condition of anonymity because the deal had not been finalized yet.