My iPhone 3g has been jailbroken for some time now. I am going to have to take it to Apple for service soon, so I figured I would just restore it. I enabled the restore mode on the iphone and docked it when. Itunes tells me the phone must be restored. I click restore, and it prepares for the restore. After awhile, I get Unknown Error 1013. Now my phone is unusable, but I still need to take it to Apple. Any help will be greatly appreciated. Thanks.