What simpler with this ?
PHP Code:
removeTransEnts( Client, {0,1,2,3,100} );
You're hardcoding some values in the script which its not needed at all and those numbers have absolute no meaning atleast try to make them readable so people understand what is happening in your code.
__________________