It may be a long while before anyone is able to unlock (not to be confused with jailbreaking) a iPhone 3g. Even if you were able to not sure how you would get one or even use with T-mobile here in the US. But never the less it's not possible anyways.
http://xs1.iphwn.org/video_assets/geohot.png