TOKYO - Nippon Telegraph and Telephone Corp. is set to relocate part of its headquarters functions within Japan to enhance its response in the event of a massive earthquake hitting the Tokyo metropolitan area, sources familiar with the plan said Monday.