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

<!--## PAGE TITLE ELEMENT ##-->
<inp2:m_DefineElement name="page_title">
	<inp2:m_Phrase name="lu_title_Redirect"/>
</inp2:m_DefineElement>
<!--## //PAGE TITLE ELEMENT ##-->

<!--## SIDE-BAR ELEMENT ##-->
<inp2:m_DefineElement name="sidebar">
	<div class="movable-area">
		<div class="movable-element">
			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
		</div>
		<div class="movable-element">
			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
		</div>
		<div class="movable-element">
			<inp2:m_RenderElement name="platform/elements/side_boxes/recommend_site.elm" design="blue_box"/>
		</div>
		<div class="movable-element">
			<inp2:m_RenderElement name="platform/elements/side_boxes/mailing_list.elm" design="blue_box"/>
		</div>
	</div>
</inp2:m_DefineElement>
<!--## //SIDE-BAR ELEMENT ##-->

<!--## MAIN CONTENT ##-->
<inp2:m_DefineElement name="content">
	<div class="movable-area">
		<div class="movable-element">
			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_Redirect" templates="redirect"/>
		</div>
		<div class="movable-element">
			<inp2:m_RenderElement design="content_box">
				<inp2:m_Capture to_var="header">
					<inp2:m_Phrase name="lu_title_Redirect"/>
					<!-- lu_redirecting_title -->
				</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>
		</div>
	</div>
</inp2:m_DefineElement>
<!--## /MAIN CONTENT ##-->

<!--## DESIGN TEMPLATE ##-->
<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
<!--## /DESIGN TEMPLATE ##-->