{if $resListPublishedAd[14]|default:0|@count gt 0}<div class="addbanner" align="center">
<div class="add-cnt-div">
<ul class="promo_banner"  style="height:250px !important;"> 
 {foreach from=$resListPublishedAd[14]|default:0 item="resPromoBanner14" key="key1"}
{if $resPromoBanner14.bannerDisplayType=='Image'}
<li>
{html->anchor title="Banner Image" href="{$resPromoBanner14.bannerURL}" target="_blank" content="<img src='{$view_public_path}/uploads/adBanner/thumb/{$resPromoBanner14.bannerImage}' title='{$resPromoBanner14.bannerURL}' alt='Sample Banner' width='{$resPromoBanner14.bannerTypeWidth}' height='{$resPromoBanner14.bannerTypeHeight}' align='absmiddle' />"}
</li>
{/if}
 {if $resPromoBanner14.bannerDisplayType=='Script'}
<li><div style="height:{$resPromoBanner14.bannerTypeHeight}px; width:{$resPromoBanner14.bannerTypeWidth}px; overflow:scroll;">{$resPromoBanner14.bannerScript}</div><li>
{/if} 
{if $resPromoBanner14.bannerDisplayType=='Swf'} 
{assign var="swfUrl" value="{$resPromoBanner14.bannerURL}"}
{assign var="swfContent" value="{$view_public_path}/uploads/adBanner/Swf/{$resPromoBanner14.bannerSwf}"}
<li>
<div class="slip">	
<object wmode="opaque" style="cursor:pointer;" width="{$resPromoBanner14.bannerTypeWidth}" height="{$resPromoBanner14.bannerTypeHeight}">
<param name="movie" value="{$swfContent}">
<embed wmode="opaque" src="{$swfContent}" width="{$resPromoBanner14.bannerTypeWidth}" height="{$resPromoBanner14.bannerTypeHeight}"  type="application/x-shockwave-flash" 

pluginspage="http://www.macromedia.com/go/getflashplayer"> </embed>
</object>
{if $swfUrl != ""}
<a href="{$swfUrl}" class="banner-swf-link" target ="_blank"></a> 
{/if}
</div>
{*
<object wmode="opaque" style="cursor:pointer;" width="{$resPromoBanner14.bannerTypeWidth}" height="{$resPromoBanner14.bannerTypeHeight}">
  <param name="movie" value="{$view_public_path}/banner/bannerProxy.swf?targetURL={$swfUrl}&targetSWF={$swfContent}">
  <embed wmode="opaque" src="{$view_public_path}/banner/bannerProxy.swf?targetURL={$swfUrl}&targetSWF={$swfContent}" width="{$resPromoBanner14.bannerTypeWidth}" height="{$resPromoBanner14.bannerTypeHeight}" type="application/x-shockwave-flash" 

pluginspage="http://www.macromedia.com/go/getflashplayer"> </embed>
</object>
*}
</li>
{/if}
{/foreach}</ul>
</div>
</div>
{/if}  
