<script language="JavaScript"> <!-- window.location="http://www.anotherpage.com/"; // --> </script>
Alternately, something like..
<a href="#" onclick="window.location='http://www.something.com/';" return false;">Click here</a>
which stops it from being indexed (although rel="noindex" does the same on some engines).
If you want to stop a certain page from being indexed, put it into robots.txt.