<div style="position:relative;left:10px;width:1000px;">
<h2><a style="text-decoration:none;" href="./index.php?admin_modul=admin_object_list&object=Statistic">Statistik</a> -&gt; {$form_data->name}</h2>

<div id="adminLeftFloater">


<div id="tabs">

	{foreach $tabs as $tab}
		<div title="{$tab.name} {$tab.count}" id="{$tab.selector}_tab"></div>
	{/foreach}
	
</div>

<script src="{$info->base_url}/themes/admin/media/js/admin_statistic_editor.js"></script>
<script>

$('#tabs').rsTabs({
	'ajax': {
		{foreach $tabs as $tab}
			'{$tab.selector}_tab': function (el) {
				adminStatistic.getTab( '{$form_data->id}', '{$tab.id}', el);
			} {if $tab@last}{else},{/if}
		{/foreach}
	}
});

adminStatistic.getTab( '{$form_data->id}', '{$tabs[0].id}', $("#{$tabs[0].selector}_tab"));
</script>

</div>
</div>
{if $info_message}<div class="info_message message">{$info_message}</div>{/if}
{if $warning_message}<div class="warning_message message">{$warning_message}</div>{/if}
{if $error_message}<div class="error_message message">{$error_message}</div>{/if}