AMENDED AND RESTATED INVESTMENT ADVISORY AGREEMENT July 6, 1999, as amended and restated May 3, 2004 and December 1, 2006