CUSTODY AGREEMENT Agreement made as of this 23rd day of July, 1997, between DEAN WITTER S&P 500 INDEX FUND, a Massachusetts business trust organized and existing under the laws of the Commonwealth of Massachusetts, having its principal office and...