Presumably, they either used Javascript via:
document.location.href = "http://www.google.com/ "
or the HTML meta redirect:
<meta http-equiv="refresh" content="0;url=http://www.google.com/ ">
Both of which can redirect your browser to another location.