QUOTE(CaptainRon @ Nov 27 2006, 06:27 AM)

In case you want to make sure that every thing in the current page is visible to the user, then in the head section, write a JS to set the window.onload=toSomeFunction; and declare that function with the redirection code. eg.
function toSomeFunction()
{
window.location.href="http://somesite.com";
}
This is what is done at download sites which make u wait for the contents of the window to load first and then start the download.
It's not neccesary to declare a new function for doing such a simple operation, the code mentioned before has the same use:
QUOTE
<body onload="window.location.href='http://www.yoursitehere.com'">
And it's sorter, so you will use less bandwidth.
Comment/Reply (w/o sign-up)