and I suspect this has nothing to do with Javascript either.
you can do this as part of the HTML header
<html>
<head>
.....plus any other <meta tags>........
<meta http-equiv="refresh" content="46;URL=url to go to after 46 seconds">
</head>
<body>
....blah di blah.....
</body>
</html>
...eg
say the url to go to was
http://www.dbforums.com
<meta http-equiv="refresh" content="46;URL=http://www.dbforums.com">
If you are learning about the basics of web design then I think you need to look at sites such as
W3Schools Online Web Tutorials
this site is more aimed at helping people with database related problems. theres no database issues with Javascript as Javascript doesn't interact with databases directly.
HTH