Sorry Bo, it is been a bit late, but I wait for all the changes for the source file settles.
It can go in if you change .find() to contains(), and trim() suffix to avoid problem with '?style ' etc (if it has not been trimmed before key is passed). Thanks. Bo