1: 2: 3: 4: 5: 6: 7:
<script> function redirect() { window.location.href = "thankyou.aspx"; } _spBodyOnLoadFunctionNames.push("redirect"); </script>