{include file="$gentemplates/$header_tpl"}
	<h2>{$lang.taketour.razdel_name}</h2>
		<form name="taketour" action="">
		<div style="margin: 10px 0;">
			<div class="float_left" style="padding:10px 0 5px;">
				{if $data.prev_link}
					<a href="#" onclick="javascript:location.href='{$data.prev_link}'" class="arr-left1-icon" title="{$lang.taketour.prev}">&nbsp;</a>
				{/if}
			</div>
			<div class="float_right" style="padding:10px 0 5px;">
				{if $data.next_link}
					<a href="#" onclick="javascript:location.href='{$data.next_link}'" class="arr-right1-icon" title="{$lang.taketour.next}">&nbsp;</a>
				{/if}
			</div>
		</div>
		<div style="clear:both;"></div>
		{if $data.file_type == 'p'}
		<p style="text-align:center">
	       <img src="{$data.file_path}" border=1 alt="">
		</p>
		{elseif $data.file_type == 'f'}
	    <p style="text-align:center">
			<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.#version=5,0,30,0" height="300" width="300">
				<param name="movie" value="{$data.file_path}">
				<param name="quality" value="best">
				<param name="play" value="true">
				<embed height="300" width="300" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" src="{$data.file_path}" type="application/x-shockwave-flash" quality="best" play="true"> 
			</object>
		</p>
		{elseif $data.file_type == 'a' || $data.file_type == 'v'}
		<p style="text-align:center">
				<object id="mediaplayer1" classid="clsid:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#version=6,4,5,715" standby="loading microsoftr windowsr media player components..."  type="application/x-oleobject">
					<param name="autostart" value="false">
					<param name="filename" value="{$data.file_path}">
					<param name="showcontrols" value="true">
					<param name="showstatusbar" value="false">
					<embed type="application/x-mplayer2"  pluginspage="http://www.microsoft.com/windows/mediaplayer/" src="{$data.file_path}" name="mediaplayer1" autostart=1 showcontrols=0></embed>
				</object> 
		</p>
		{/if}
		{if $data.comment}
			<p style="text-align:center">{$data.comment}</p>
		{/if}
		</form>
{include file="$gentemplates/$footer_tpl"}
