$template.code}" onclick="javascript:setupTemplate('{$template.code}')"/>{/if}</td>
      </tr>
      <tr>
        <td valign="top">
        {foreach name=foo1 from=$template_style.$template.code item=style}
        {if $smarty.foreach.foo1.total>1}
         <img src="../themes/{$template.code}/images/type{$style}_0.gif" border="0" style="cursor:pointer; float:left; margin:0 2px;" onMouseOver="javascript:onSOver('{$template.code}', '{$style}', this);" onMouseOut="onSOut('{$template.code}', this, '');" oncli