Thank you, Cheyney! I will then stop searching in the reference books, for document.arrays!
I understand now, how your script works.
The only other solution I've found, was to create by hand, an array that lists the names of the 'real' arrays. I have about 8-9 of these, so it's not a big deal.
Then I would create a function, that takes the array name as a parameter , then loops through the list of arrays, and if one of the name matches, returns true, or whatever.
I'll try to do that tomorrow, I'll let you know how it works.
Thanks again
Fuli
Why do I need all this?
I have a function that scrolls layers. If in that layer, there is a table, that has been created by another script, form an array, as the layer scrolls up/down, different cells get highlighted. The highlighting script has to be integrated in the scroller script, because it uses a parameter from that script (y_pos). Also, the scroller recevies another parameter telling it which layer it has to move exactly.
But not every layer has a table on it, so there are no cells to highlight there. I already have it 85% finished...