The purpose of this study is to test the hypothesis that treatment of chronic hepatits B in HIV infected persons is more efficacious with Truvada compared to either lamivudine or emtricitabine alone. We are also investigating the development of drug-resistant virus.