{if $extern_products_array}


<script type="text/javascript">
$(function() {ldelim}
	 $('#container-options ul').tabs({ldelim} fx: {ldelim} opacity: 'toggle' {rdelim} {rdelim});
{rdelim});

$(document).ready(function()
{ldelim}
	$('div.new_inshop').toggleElements({ldelim}fxAnimation:'false', fxSpeed:'normal', className:'toggler',onClick:NewInShopCloser,onHide:NewInShopOpener{rdelim} );
{rdelim});

function NewInShopOpener() {ldelim}$.cookie('new_inshop','opened', {ldelim}expires: 30,path: '{$cookiepath}'{rdelim});{rdelim}
function NewInShopCloser() {ldelim}$.cookie('new_inshop', '', {ldelim}expires: 30,path: '{$cookiepath}'{rdelim});{rdelim}
</script>



<div class="box_innerhead">{#Shop_NewProducts#}</div>
<div id="container-options">
{*
    <ul>
    {foreach from=$extern_products_array item=p name=pro}
    {assign var=count2 value=$count2+1}
    {if $count2 % $newest_colums==0 && !$smarty.foreach.pro.last || ($smarty.foreach.pro.first)}
    {assign var=nc value=$nc+1}
        <li><a href="#opt-{$nc}"><span>{#Shop_artpage#} {$nc}</span></a></li>
    {/if}
    {/foreach}
    </ul>
	<div class="clear"></div>
*}

<div id="opt-1">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>

{foreach from=$extern_products_array item=p name=pro}
{assign var=count_split value=$count_split+1}
{if $count_split % $newest_colums==0 && !$smarty.foreach.pro.last || ($smarty.foreach.pro.first)}
{assign var=div_split value=$div_split+1}
{/if}

{assign var=count value=$count+1}
<td style="width:{$colums_width}%">

<script language="javascript" type="text/javascript">
<!--
$(document).ready(function(){ldelim}
var options = {ldelim}target:'#ajaxbasket',  timeout:   3000 {rdelim}; 
$('#ajnp_products_{$p.Id}').submit(function() {ldelim}
jQuery.blockUI({ldelim} message: '<h2>{#Shop_ProdAddedToBasket#}</h2>'{rdelim}); 
setTimeout(jQuery.unblockUI, 2000); 
$(this).ajaxSubmit(options); 
return false;  {rdelim}); {rdelim}); 
-->
</script>
<div>
<div class="shop_products_extern">
<div class="shop_product_text" {popup text=$p.Titel|koobispecialchars}>
<div class="shop_image_newstart" >
<a title="{$p.Titel|koobispecialchars}" href="{$p.ProdLink}"><img src="{$p.Bild_Mittel}" alt="" border="0" /></a>
</div>

<div class="shop_product_title_new">
<a  title="{$p.Titel|koobispecialchars}" href="{$p.ProdLink}">{$p.Titel|koobispecialchars|truncate:25}</a>
</div>
{* 
<div class="shop_articlenumber">{#Shop_ArticleNumber#}: {$p.Artikelnummer}</div>
{$p.Beschreibung|truncate:150|stripslashes} 
*}
</div>
<div class="shop_price_detail_footer">

{if $p.Preis_Liste != $p.Preis}
{#Shop_instead#}&nbsp;&nbsp;<span class="shop_price_old">{$p.Preis_Liste|numformat} {$currency_symbol}</span>
<br/>
{else}
<br />
{/if}

{if $p.Vars}{#Shop_priceFrom#}{/if}
{if $show_price_images==1}
<br />
{$p.Preis|imgsrt}{$currency_symbol|imgletter}<br />
{else}
	<span class="shop_price">{$p.Preis|numformat} {$currency_symbol} *</span>
{/if}
	{if $no_nettodisplay!=1}
	{if $price_onlynetto != 1}
	<br />
	<div class="shop_subtext">
    {if $shopsettings->NettoKlein==1}
    {#Shop_netto#} {$p.netto_price|numformat} {$currency_symbol}
    <br />
    {/if}
    {* {include file="$incpath/shop/tax_inf_small.tpl"} *}
    </div>
	{/if}
	
	{if $price_onlynetto == 1 && $p.price_ust_ex != ''}
	<br />
	<div class="shop_subtext">
    {include file="$incpath/shop/tax_inf_small.tpl"}
    </div>
	{/if}
	{/if}
	
	{if !$p.Vars  && $p.Lagerbestand>0}
	{else}
	{/if}
</div>
</div>
</div>
</td>
{if $count % $newest_colums==0 && !$smarty.foreach.pro.last}
</tr>
</table>
</div>

<div id="opt-{$div_split}">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
{else}

{/if}

{/foreach}
</tr></table>
</div>
</div>

{/if}