MARTINSBURG, W.Va. (AP) - Dex Media has sold its building in Martinsburg as part of a downsizing of its business.Dex Media spokeswoman Suzanne Keen tells The Journal that the company will continue to occupy the building as part of a lease-back agreement with the new owner.Keen says the sale won't affect the company's three full-time and 19 temporary positions in Martinsburg.The building is a warehouse for yellow page directories produced by the company.