Photon-assisted tunneling of a driven two-mode Bose-Einstein condensate