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