Re: Redirecting to another page using IF function
You can either use that example or:[code:17lebjoo]document.location = "wm.html"[/code:17lebjoo]
To be honest if you are using javascript to protect a page you might as well not protect it at all.
Flabby Rabbit