no afraid the remote system aint much help.
I have to just go into the system first and see how many pages everything is, and then put it into my script.
:( its a long way to do things.
But cause some of the clients systems are so different, its a pain.
I was just lookin for an easy way to fix it.