<div class="main">
	<table width="100%" border="0" class="main">
		<tr>
			<td class="image" nowrap="nowrap">
					<?php foreach (range(1,$pictures) as $number) { ?>
						
<a href="#<?php echo $number ?>">
  <img class="lazy" data-original="/<?php echo $folder ?>/<?php echo $number ?>.jpg" alt="Picture <?php echo $number ?>" />
</a>


<div class="lightbox" id="<?php echo $number ?>">
  <a class="fill-div" href="#_">
    <img src="/<?php echo $folder ?>/<?php echo $number ?>.jpg" />
  </a>
  <p><a href="/<?php echo $folder ?>/<?php echo $number ?>.jpg" id="<?php echo $number ?>">»» FULL SIZE PICTURE ««</a></p>
</div>


<noscript><img src="/<?php echo $folder ?>/<?php echo $number ?>.jpg" alt="Picture <?php echo $number ?>" /></noscript>
&nbsp;&nbsp;&nbsp;
					<?php }  ?>
			</td>
		</tr>
	</table>
</div>

<noscript><p style="position:fixed; top:400px; text-align:left; color:#FF0000">Please enable JavaScript<br />for better website loading</p></noscript>
