GLSL node setup to mimic 'Reflection' mapping?

What nodes would I use to mimic the ‘Reflection’ mapping ?


ok, I can use a material I bind the reflection map in to get at reflection that way, but I am having some trouble masking the reflection and atill having shadows where the reflection is masked…