Made it work with more then 1 element per page

Hi,

I updated your script to work with more then 1 Element on a page.

Greetings,
Frederick