What happens if i restore my jailbroken iphone?

I have a jailbroken iphone 3gs and am currently using it with straight talk, if i restore it can i still use it with straight talk? What would happen to it?

You can't restore it from a jailbroken program. Its always going to be into that cell phone.programs always will stay in your phone.once you donwload it its never going to be gone.