{if $feature_slideshow eq 'on'}

	<div class="slider-wrapper theme-default">
    <div id="slider" class="nivoSlider">

{if $feature_slideshow_slides eq '1'}
<a href="{$LANG.banner1_link}"><img src="templates/{$template}/images/{$LANG.banner1_filename}" {if $feature_slideshow_captions eq 'on'}title="{$LANG.banner1_caption}"{/if} alt="{$LANG.banner1_caption}" class="img-respond" /></a>
{elseif $feature_slideshow_slides eq '2'}
<a href="{$LANG.banner1_link}"><img src="templates/{$template}/images/{$LANG.banner1_filename}" {if $feature_slideshow_captions eq 'on'}title="{$LANG.banner1_caption}"{/if} alt="{$LANG.banner1_caption}" class="img-respond" /></a>
<a href="{$LANG.banner2_link}"><img src="templates/{$template}/images/{$LANG.banner2_filename}" {if $feature_slideshow_captions eq 'on'}title="{$LANG.banner2_caption}"{/if} alt="{$LANG.banner2_caption}" class="img-respond" /></a>
{elseif $feature_slideshow_slides eq '3'}
<a href="{$LANG.banner1_link}"><img src="templates/{$template}/images/{$LANG.banner1_filename}" {if $feature_slideshow_captions eq 'on'}title="{$LANG.banner1_caption}"{/if} alt="{$LANG.banner1_caption}" class="img-respond" /></a>
<a href="{$LANG.banner2_link}"><img src="templates/{$template}/images/{$LANG.banner2_filename}" {if $feature_slideshow_captions eq 'on'}title="{$LANG.banner2_caption}"{/if} alt="{$LANG.banner2_caption}" class="img-respond" /></a>
<a href="{$LANG.banner3_link}"><img src="templates/{$template}/images/{$LANG.banner3_filename}" {if $feature_slideshow_captions eq 'on'}title="{$LANG.banner3_caption}"{/if} alt="{$LANG.banner3_caption}" class="img-respond" /></a>
{elseif $feature_slideshow_slides eq '4'}
<a href="{$LANG.banner1_link}"><img src="templates/{$template}/images/{$LANG.banner1_filename}" {if $feature_slideshow_captions eq 'on'}title="{$LANG.banner1_caption}"{/if} alt="{$LANG.banner1_caption}" class="img-respond" /></a>
<a href="{$LANG.banner2_link}"><img src="templates/{$template}/images/{$LANG.banner2_filename}" {if $feature_slideshow_captions eq 'on'}title="{$LANG.banner2_caption}"{/if} alt="{$LANG.banner2_caption}" class="img-respond" /></a>
<a href="{$LANG.banner3_link}"><img src="templates/{$template}/images/{$LANG.banner3_filename}" {if $feature_slideshow_captions eq 'on'}title="{$LANG.banner3_caption}"{/if} alt="{$LANG.banner3_caption}" class="img-respond" /></a>
<a href="{$LANG.banner4_link}"><img src="templates/{$template}/images/{$LANG.banner4_filename}" {if $feature_slideshow_captions eq 'on'}title="{$LANG.banner4_caption}"{/if} alt="{$LANG.banner4_caption}" class="img-respond" /></a>
{elseif $feature_slideshow_slides eq '5'}
<a href="{$LANG.banner1_link}"><img src="templates/{$template}/images/{$LANG.banner1_filename}" {if $feature_slideshow_captions eq 'on'}title="{$LANG.banner1_caption}"{/if} alt="{$LANG.banner1_caption}" class="img-respond" /></a>
<a href="{$LANG.banner2_link}"><img src="templates/{$template}/images/{$LANG.banner2_filename}" {if $feature_slideshow_captions eq 'on'}title="{$LANG.banner2_caption}"{/if} alt="{$LANG.banner2_caption}" class="img-respond" /></a>
<a href="{$LANG.banner3_link}"><img src="templates/{$template}/images/{$LANG.banner3_filename}" {if $feature_slideshow_captions eq 'on'}title="{$LANG.banner3_caption}"{/if} alt="{$LANG.banner3_caption}" class="img-respond" /></a>
<a href="{$LANG.banner4_link}"><img src="templates/{$template}/images/{$LANG.banner4_filename}" {if $feature_slideshow_captions eq 'on'}title="{$LANG.banner4_caption}"{/if} alt="{$LANG.banner4_caption}" class="img-respond" /></a>
<a href="{$LANG.banner5_link}"><img src="templates/{$template}/images/{$LANG.banner5_filename}" {if $feature_slideshow_captions eq 'on'}title="{$LANG.banner5_caption}"{/if} alt="{$LANG.banner5_caption}" class="img-respond" /></a>
{/if}

	</div>     
	</div>

<noscript> {* The following code is only used if the visitor has Javascript turned off (displays a static banner) *}

		<div class="banner">
			<a href="{$LANG.bannersub_url}"><img src="templates/{$template}/images/{$LANG.bannersub_filename}" class="img-respond" alt="{$LANG.bannersub_alt}" /></a>
		</div><!-- sub.htmlbanner -->

</noscript>

{else} {* The follow code displays a static banner if the slideshow is turned off in the settings area *}

		<div class="banner">
			<a href="{$LANG.bannersub_url}"><img src="templates/{$template}/images/{$LANG.bannersub_filename}" class="img-respond" alt="{$LANG.bannersub_alt}" /></a>
		</div><!-- sub.htmlbanner -->

{/if}