Exhibit(d)(18)(A) STOCK PURCHASE AGREEMENT dated as of July 12, 2002