A question about texbem(bump environment-map)

i have a GeForce4 Ti4200 and a ATI 8500 card.and now i have a problem on how to code a texbem demo that can run on both card.In DX8, i can use texbem instruction in PS1.1,but how can i do it with ARB extensions?
i am eager for someone’s answer.