You could do the redirect based on a Javascript, but this is not a secure way of redirecting because the client gets to determine which of the two URLs to link with. But if you are simply doing it for administrative purposes, not security, it will work fine.
Alternatively you must use something like PHP or ASP on the server side to dynamically determine which URL to display. Of course this can also be downloaded by a determined individual, so they would have access to both URLs as well.
The only "safe" ways to accomplish the redirect that I know of is to set permissions on directory structures through the webserver, or to write a binary with obfuscated strings that is called by the web server when a specific link is clicked and have it return a URL string based on incoming IP.
Maybe someone else knows better?
pansophic