Crawler获取两次被询问的代码

I'm using simple html dom parser and everything works fine, but my code produces the asked code multiple times. U can see what I'm talking about here: http://stijnaerts.be/crawl/

I'm using the following php code:

<?php
                include("simple_html_dom.php");

                $webpage ="http://www.partyindustries.be/partypics/";

                $html = file_get_html($webpage);

                $links = $html->find('a');

                foreach($html->find('a') as $element){
                    $div = $element->find('div[.kalenderRow partyPicsRow]');
                    $som = count($div);
                    if($som != 0)
                    {
                        echo $element;
                    }
                }
            ?>

What is causing the multiple entries?