How to redirect a page in Java Script
window.location can set to URL of a page to which redirection is desired. This can be done by placing the Java Script code between head tags. The following example show how a page redirects to http://techpulp.com/newpage.php upon loading. The redirection URL can be changed to any URL.
<head> ... <script language="JavaScript"> window.location="http://techpulp.com/newpage.php"; </script> ... </head>

