{$formstart}
{$tabto}
{$article}
{$sort_order}
<script type="text/javascript">
{literal}
	$(document).ready(function() {	
		var articlesnaviid = $(".articlesnavi .active").attr("id");
		$(".contentarea#"+articlesnaviid+"_c").addClass("active");
		$(".articlescontent .articlestab").not(".articlescontent .articlestab.active").hide();
		
		$(".articlesnavi div").click(function(){
			var articlesnavinewid = $(this).attr("id");
			$(this).siblings().removeClass("active");
			$(this).addClass("active");
			$(".articlescontent .articlestab").hide();
			$(".articlescontent #"+articlesnavinewid+"_c").show();
		})
	});
{/literal}
</script>

{*<div id="page_tabs" class="articlesnavi">
	<div id="productsummary" class="active">Summary</div>
	{if $use_seo}<div id="seodata">SEO</div>{/if}
</div>
<div class="clearb"></div>*}
{*<div id="page_content" class="articlescontent">*}

<div class="contentarea articlestab" id="productsummary_c">
	<div class="pageoverflow">
	       <h3>Summary</h3>
		<p class="pagetext" style="margin-left:10px;">{$prompt_active}:</p>
		<p class="pageinput" style="margin-left:10px;">{$input_active}</p>
	</div>
	<div class="pageoverflow">
		<p class="pagetext" style="margin-left:10px;">{$prompt_title}:</p>
		<p class="pageinput" style="margin-left:10px;">{$input_title}</p>
	</div>
	<div class="pageoverflow">
		<p class="pagetext" style="margin-left:10px;">{$prompt_datetime}:</p>
		<p class="pageinput" style="margin-left:10px;">
			Date:
			{html_select_date
				prefix=$prefix_datetime
				time=$datetime
				start_year="-5"
				end_year="+10"}
			Time:
			{html_select_time
				display_seconds=false
				minute_interval=15
				prefix=$prefix_datetime
				time=$datetime}
		</p>
	</div>
	{if count($cats)>0}
	<div class="pageoverflow">
		<p class="pagetext" style="margin-left:10px;">{$prompt_category}:</p>
		<p class="pageinput" style="margin-left:10px;"><input type="hidden" name="{$formid}category" value="1" />{foreach from=$cats key='catkey' item='catvalue'}
			{capture assign='checked'}{/capture}
			{foreach from=$cats_selected item='scat'}{if $catvalue==$scat}{capture assign='checked'} checked="checked"{/capture}{/if}{/foreach}
			<input type="checkbox" name="{$formid}cats[]" value="{$catvalue}"{$checked} /> {$catkey}<br />
		{/foreach}</p>
	</div>
	{/if}
	<div class="pageoverflow">
		<p class="pagetext" style="margin-left:10px;">{$prompt_short}:</p>
		<p class="pageinput" style="margin-left:10px;">{$input_short}</p>
	</div>
	{if $use_dates}
	<div class="pageoverflow">
		<p class="pagetext" style="margin-left:10px;">{$prompt_start_date}:</p>
		<p class="pageinput" style="margin-left:10px;">
			Date:
			{html_select_date
				prefix=$prefix_startdate
				time=$start_date
				start_year="-5"
				end_year="+10"}
			Time:
			{html_select_time
				display_seconds=false
				minute_interval=15
				prefix=$prefix_startdate
				time=$start_date}
		</p>
	</div>
	<div class="pageoverflow">
		<p class="pagetext" style="margin-left:10px;">{$prompt_end_date}:</p>
		<p class="pageinput" style="margin-left:10px;">
			Date:
			{html_select_date
				prefix=$prefix_enddate
				time=$end_date
				start_year="-5"
				end_year="+10"}
			Time:
			{html_select_time
				display_seconds=false
				minute_interval=15
				prefix=$prefix_enddate
				time=$end_date}
		</p>
	</div>
	{/if}
	{if $use_longdesc}
	<div class="pageoverflow">
		<p class="pagetext" style="margin-left:10px;">{$prompt_long}:</p>
		<p class="pageinput" style="margin-left:10px;">{$input_long}</p>
	</div>
	{/if}
	{if $use_image}
	<div class="pageoverflow">
		<p class="pagetext" style="margin-left:10px;">{$prompt_image}:</p>
		<p class="pagetext" style="margin-left:10px;">{$input_image}{$input_image_ov}<br/>{$input_image_del}</p>
	</div>
	<div class="pageoverflow">
		<p class="pagetext" style="margin-left:10px;">{$prompt_image_text}:</p>
		<p class="pageinput" style="margin-left:10px;">{$input_image_text}</p>
	</div>
	{/if}
	<div class="pageoverflow">
		<p class="pagetext" style="margin-left:10px;">{$prompt_gallery}:</p>
		<p class="pageinput" style="margin-left:10px;">{$input_gallery_id}</p>
	</div>
	{if $use_availibility}
	<div class="pageoverflow">
		<p class="pagetext" style="margin-left:10px;">{$prompt_availibility}:</p>
		<p class="pageinput" style="margin-left:10px;">{$input_availibility}</p>
	</div>
	{/if}
	{if $use_price}
	<div class="pageoverflow">
		<p class="pagetext" style="margin-left:10px;">{$prompt_price}:</p>
		<p class="pageinput" style="margin-left:10px;">{$input_price}&nbsp;{$currency}</p>
	</div>
	{/if}
	{if $use_vat}
	<div class="pageoverflow">
		<p class="pagetext" style="margin-left:10px;">{$prompt_vat}:</p>
		<p class="pageinput" style="margin-left:10px;">{$input_vat}&nbsp;%</p>
	</div>
	{/if}
	{if $use_deliverytime}
	<div class="pageoverflow">
		<p class="pagetext" style="margin-left:10px;">{$prompt_delivery_time}:</p>
		<p class="pageinput" style="margin-left:10px;">{$input_delivery_time}</p>
	</div>
	{/if}
	{if $use_shippingcosts}
	<div class="pageoverflow">
		<p class="pagetext" style="margin-left:10px;">{$prompt_shipping_costs}:</p>
		<p class="pageinput" style="margin-left:10px;">{$input_shipping_costs}&nbsp;{$currency}</p>
	</div>
	{/if}
	{if $use_cart}
	<div class="pageoverflow">
		<p class="pagetext" style="margin-left:10px;">{$prompt_cart}:</p>
		<p class="pageinput" style="margin-left:10px;">{$input_cart}</p>
	</div>
	{/if}
	{if $use_url}
	<div class="pageoverflow">
		<p class="pagetext" style="margin-left:10px;">{$prompt_url}:</p>
		<p class="pageinput" style="margin-left:10px;">{$input_url}</p>
	</div>
	{/if}
	{if $use_detailpage}
	<div class="pageoverflow">
		<p class="pagetext" style="margin-left:10px;">{$prompt_link}:</p>
		<p class="pageinput" style="margin-left:10px;">{$input_link}</p>
	</div>
	{/if}
	<div class="pageoverflow">
		<p class="pagetext" style="margin-left:10px;">{$prompt_returnid}:</p>
		<p class="pageinput" style="margin-left:10px;">{$input_returnid}</p>
	</div>
	<div class="pageoverflow">
		<p class="pagetext" style="margin-left:10px;">{$prompt_user}:</p>
		<p class="pageinput" style="margin-left:10px;">{$input_user_id}</p>
	</div>
</div>
{if $use_seo}
<div class="seoarea articlestab" id="seodata_c">
	<div class="pageoverflow">
	        <h3>SEO</h3>
		<p class="pagetext" style="margin-left:10px;">{$prompt_seo_url}:</p>
		<p class="pageinput" style="margin-left:10px;">{$input_seo_url}</p>
	</div>
	<div class="pageoverflow">
		<p class="pagetext" style="margin-left:10px;">{$prompt_meta_title}:</p>
		<p class="pageinput" style="margin-left:10px;">{$input_meta_title}</p>
	</div>
	<div class="pageoverflow">
		<p class="pagetext" style="margin-left:10px;">{$prompt_meta_description}:</p>
		<p class="pageinput" style="margin-left:10px;">{$input_meta_description}</p>
	</div>
	<div class="pageoverflow">
		<p class="pagetext" style="margin-left:10px;">{$prompt_noindex}:</p>
		<p class="pageinput" style="margin-left:10px;">{$input_noindex}</p>
	</div>
	<div class="pageoverflow">
		<p class="pagetext" style="margin-left:10px;">{$prompt_nofollow}:</p>
		<p class="pageinput" style="margin-left:10px;">{$input_nofollow}</p>
	</div>
	<div class="pageoverflow">
		<p class="pagetext" style="margin-left:10px;">{$prompt_noarchive}:</p>
		<p class="pageinput" style="margin-left:10px;">{$input_noarchive}</p>
	</div>
	<div class="pageoverflow">
		<p class="pagetext" style="margin-left:10px;">{$prompt_noodp}:</p>
		<p class="pageinput" style="margin-left:10px;">{$input_noodp}</p>
	</div>
	<div class="pageoverflow">
		<p class="pagetext" style="margin-left:10px;">{$prompt_notranslate}:</p>
		<p class="pageinput" style="margin-left:10px;">{$input_notranslate}</p>
	</div>
</div>
{/if}
{*</div>*}
<div class="pageoverflow">
	<p class="pagetext" style="margin-left:10px;">&nbsp;</p>
	<p class="pageinput" style="margin-left:10px;">{if isset($idfield)}{$idfield}{/if}{$submit}{$cancel}{*$apply*}</p>
</div>
{$formend}