<div id="selImageGallery">
	{foreach key=i item=val from=$loadImages}
		<img src="{$val}" style="display:none;">
	{/foreach}
	{if $displayImage}
		<p><img src="{$displayImage.image_path}"{$displayImage.attributes} alt="" /></p>
		    <div>
			{if isset($displayImage.previous_path)}
				<div class="clsLeftRun"><a id="{$displayImage.previous_image}" href="{$displayImage.previous_path}" onclick="return displayImageGallery('{$displayImage.previous_image}');">{$LANG.common_paging_previous}</a></div>
			{else}
				<div class="clsLeftRun">{$LANG.common_paging_previous}</div>
			{/if}

			{if isset($displayImage.next_path)}
				<div class="clsRightRun"><a id="{$displayImage.next_image}" href="{$displayImage.next_path}" onclick="return displayImageGallery('{$displayImage.next_image}');">{$LANG.common_paging_next}</a></div>
			{else}
				<div class="clsRightRun">{$LANG.common_paging_next}</div>
			{/if}
			</div>
	{else}
		<div id="selMsgError">
			 <p>{$LANG.invalid_image_access}</p>
		</div>
	{/if}
</div>