

<div id="content" style="margin-top: 5px;">

  
			   
					 {foreach from=$photos item=P1}{/foreach }
					 {if $P1.photoUrl!= null}
					<ul class="parameters2">
					<div id="dhtmlgoodies_slideshow">
						<div id="previewPane">
									<img src="files/photo/big/{$P1.photoUrl}" border=0  width="430" height="360">	
									<span id="waitMessage">Ładowanie zdjęcia. Prosze czekać</span>
									<div id="largeImageCaption"></div> 
						</div>
						
						<div id="galleryContainer">
										<div id="arrow_up"><img src="images/arrow-up.gif" id="arrow_up_image"></div>
								
							<div id="theImages">
								
								<div>
							 {assign var='i' value='0'}
													{foreach from=$photos item=P}
													{assign var='i' value=$i+1}
												<a href="#"  onclick="showPreview('files/photo/big/{$P.photoUrl}','i');return false"  title="{$I.obName}"><img src="files/photo/mini/{$P.photoUrl}" {if $i != 0}style="margin-left: 0px;"{/if}></a>
								{/foreach }
									<div id="slideEnd"></div>
								
								</div>
								
							</div>
						
							<div id="arrow_down"><img src="images/arrow-down.gif" id="arrow_down_image"></div>
						</div>
					</div>
					</ul>
					{else}{/if}

</div>

 