{if $show_title eq 1}
{$TITLE}
<br/>
{/if}

<link rel="stylesheet" type="text/css" href="{$smarty.const.DOC_ROOT}/application/widgets/Slider/templates/css/slider.css" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script type="text/javascript" src="{$smarty.const.DOC_ROOT}/application/widgets/Slider/templates/js/jquery.phpldslider.js"></script>

<div class="slider-links">
{if !empty($SLIDE1_LINK)}<a href="{$SLIDE1_LINK}" target="_blank" id="slide1_link" rel="nofollow"></a>{/if}
{if !empty($SLIDE2_LINK)}<a href="{$SLIDE2_LINK}" target="_blank" id="slide2_link" rel="nofollow"></a>{/if}
{if !empty($SLIDE3_LINK)}<a href="{$SLIDE3_LINK}" target="_blank" id="slide3_link" rel="nofollow"></a>{/if}
{if !empty($SLIDE4_LINK)}<a href="{$SLIDE4_LINK}" target="_blank" id="slide4_link" rel="nofollow"></a>{/if}
{if !empty($SLIDE5_LINK)}<a href="{$SLIDE5_LINK}" target="_blank" id="slide5_link" rel="nofollow"></a>{/if}
{if !empty($SLIDE6_LINK)}<a href="{$SLIDE6_LINK}" target="_blank" id="slide6_link" rel="nofollow"></a>{/if}
{if !empty($SLIDE7_LINK)}<a href="{$SLIDE7_LINK}" target="_blank" id="slide7_link" rel="nofollow"></a>{/if}
{if !empty($SLIDE8_LINK)}<a href="{$SLIDE8_LINK}" target="_blank" id="slide8_link" rel="nofollow"></a>{/if}
</div>
<div id="slider" >
                                {if !empty($SLIDE1_IMAGE)}
					<img src="{$SLIDE1_IMAGE}" alt="{$SLIDE1_TEXT}"  id="slide1"/>
                                {/if}
				
				
				{if !empty($SLIDE2_IMAGE)}
					<img src="{$SLIDE2_IMAGE}" alt="{$SLIDE2_TEXT}" id="slide2"/>
                                {/if}
				
				
				{if !empty($SLIDE3_IMAGE)}
				      <img src="{$SLIDE3_IMAGE}" alt="{$SLIDE3_TEXT}"  id="slide3"/>
				   
                                {/if}
				
				{if !empty($SLIDE4_IMAGE)}
								<img src="{$SLIDE4_IMAGE}" alt="{$SLIDE4_TEXT}"  id="slide4"/>
				   
                                {/if}
				
				
				{if !empty($SLIDE5_IMAGE)}
				      <img src="{$SLIDE5_IMAGE}" alt="{$SLIDE5_TEXT}" id="slide5"/>
				   
                                {/if}
				
				
				{if !empty($SLIDE6_IMAGE)}
                                     
					<img src="{$SLIDE6_IMAGE}" alt="{$SLIDE6_TEXT}"  id="slide6"/>
				   
                                {/if}
				
				
				{if !empty($SLIDE7_IMAGE)}
                                     <img src="{$SLIDE7_IMAGE}" alt="{$SLIDE7_TEXT}"  id="slide7"/>
				   
                                {/if}
				
				
				{if !empty($SLIDE8_IMAGE)}
                                    <img src="{$SLIDE8_IMAGE}" alt="{$SLIDE8_TEXT}"  id="slide8"/>
				   
                                {/if}
                                
                                
                                
                              
			</div>
        </div>
		
		<script type="text/javascript">
			$(function() {
			
				  $('#slider').phpldSlide();
			
			});
		</script>	