If the device has iOS 7, then Activation Lock has kicked in and until you recover the original AppleID, it is basically bricked out. See if you can reset the old ID thru here: https://appleid.apple.com
Else you will have to contact Apple Support and have them help you.