This helps verry much, thank you.
At the end of last week I found this kind of solution on a other forum. And that worked very wel.
In that case I created an extra column in the list containting a html-item. The text in the html-item was an other Data Item Value which contained a concatenated string which looked like:
<script language="javascript">getPosition("' +[Address line 1]+ '","' + [City]');</script>
In this case getPosition is a function (which is defined in another html-item) in which the parameters are the other Data Item Values in the list.
But I think your solution is better because in the getPostion function I am creating the array.