<div class="highslide-gallery" style="float:left; margin:5px">
<a id="thumb<?php echo $photoid ?>" href="<?php echo $sitepath ?>photos/<?php echo $photoid ?>.jpg" class="plinks" onclick="return hs.expand(this)"><img src="<?php echo $sitepath ?>photos/thumbs/<?php echo $photoid ?>.jpg" width="80" height="53" alt="<?php echo $photo ?>" title="<?php echo $photo ?>"></a></div>
