<div style="width:{$hwdvids_params.mod_width}">
{if $hwdvids_params.style eq 2}
	<div id="hwdvids">
	<div class="standard">
	      {foreach name=outer item=data from=$list}
		  <div style="width:{$static_width}%;float:left;">
		    {include file="mod_hwd_vs_list.tpl"}
		  </div>
		  {if $smarty.foreach.outer.last}
		     <div style="clear:both;"></div>
		  {elseif $smarty.foreach.outer.index % $hwdvids_params.novpr-($hwdvids_params.novpr-1) == 0}
		     <div style="clear:both;"></div>
		  {/if}
	      {/foreach}
	<div style="text-align:right;padding:5px;"><a href="{$HWDVSURL}" title="{$smarty.const._HWDVIDS_MOREVIDEOS}">{$smarty.const._HWDVIDS_MOREVIDEOS}</a></div>
	</div>
	</div>
{else}
	<div id="hwdvids">
	<div class="standard">
	<div id="{$iCID}_frame"><img id="{$iCID}_next" src="{$URL_HWDVS_IMAGES}arrow_next.png" alt="Next" style="padding: 5px 5px 5px 0;" /><img id="{$iCID}_prev" src="{$URL_HWDVS_IMAGES}arrow_prev.png" alt="Previous" style="padding: 5px 0;" /></div>
	<center>

	  <div id="{$iCID}">

	      <ul id="{$iCID}_content">  
		{foreach name=outer item=data from=$list}
		  <li class="{$iCID}_item">
		    {include file="mod_hwd_vs_list.tpl"}
		  </li>   
		{/foreach}
	       </ul>  

	  </div> 

	</center>
	<div style="text-align:right;padding:5px;"><a href="{$HWDVSURL}" title="{$smarty.const._HWDVIDS_MOREVIDEOS}">{$smarty.const._HWDVIDS_MOREVIDEOS}</a></div>
	</div>
	</div>
{/if}
</div>