<!--##
<NAME>Redirect</NAME>
<DESC></DESC>
<SECTION>Pages</SECTION>
##-->

<!--## DEFINE MAIN CONTENT ELEMENT ##-->
<inp2:m_DefineElement name="content">

	<inp2:m_RenderElement design="content_box">
	
		<inp2:m_Capture to_var="header">
			<inp2:m_Phrase name="lu_title_Redirect"/>
		</inp2:m_Capture>
		
		<br /><br />
		<inp2:m_phrase name="lu_text_Redirect"/>

		<script type="text/javascript">
			function exec_refresh() {
				window.status = 'Redirecting...' + myvar;
				myvar = myvar + ' .';

				var timerID = setTimeout('exec_refresh();', 100);
				if (timeout > 0) {
					// prints dots in status bar for timeout * 100 miliseconds (will be 2 seconds)
					timeout -= 1;
				}
				else {
					clearTimeout(timerID);
					window.status = '';
					window.location = '<inp2:m_Get name="redirect_to" js_escape="1"/>';
				}
			}
			var myvar = '';
			var timeout = 20;

			exec_refresh();
		</script>

		<form action="<inp2:m_FormAction />" method="get">
		<br />
			<!-- lu_redirecting_text -->
			<a href="<inp2:m_Get name='redirect_to'/>"><inp2:m_Phrase label="lu_text_Redirect" /></a><br />
			<br />
			<script type="text/javascript">
				document.write('<input type="submit" class="button" value=" Proceed " accesskey="s" onclick="window.location=\'<inp2:m_Get name="redirect_to" js_escape="1"/>\'; return false" />');
			</script>
		</form>
		<br /><br />

	</inp2:m_RenderElement>

</inp2:m_DefineElement>
<!--## /DEFINE MAIN CONTENT ELEMENT ##-->

<inp2:m_include template="designs/default_design.des" page_class="inner"/>