I couldn't use *_urlencode because then the slashes were being encoded and no longer matched the delimiter "/" in the code which calculates the cr_item.
And that's the truth ...
/Ola