FIVE-YEAR COMPETITIVE ADVANCE AND REVOLVING CREDIT FACILITY AGREEMENT dated as of July 19, 2004 among