AMENDED AND RESTATED INVESTMENT ADVISORY AGREEMENT July 6, 1999, as Amended and Restated February 21, 2005