CINXE.COM

Redirector

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Redirector</title> </head> <body> <script type="text/javascript"> // Function to redirect after a certain time interval function redirectWithQueryString() { // Get the current query string var currentQueryString = window.location.search; // Set the time interval (in milliseconds) before redirection var interval = 100; // 1000 = second // Set the URL to redirect to, including the current query string var redirectTo = '/grants/guide/WeeklyIndexMobile.cfm' + currentQueryString; // Use setTimeout to delay the redirection setTimeout(function() { // Redirect to the specified URL window.location.href = redirectTo; }, interval); } // Call the function when the page loads window.onload = redirectWithQueryString; </script> </body> </html>