Goto ventilators "wiki" site and you can find where the fallback goes in the 2nd multitexture code posted there.
I would look at what Jeff says about your card too... If it is the MX you are out of luck as far as I know. And if it does support those, you need to know what versions of PS and VS.
A war story
I bought the Geforce4 MX 440 and found it does not support the pixel and vertex shaders and it has directx 7 on the card. I took the hit and then bought a freaking Radeon 9200 128mb so that I could at least run PS 1.4 and VS 1.1. It was not too expensive and more than enough to get my feet wet with these shaders. This only after spending many hours, if not days, as you are with the shader code.
Find out in your devices what your card is and let us know or find the specs on it online.