This can be done automatically only for Frontpage websites. You can use for that the Tools > Import Frontpage Navigation Structure command.