I really like this! Great use of hashtables smile
I wonder how come the if and $iif conditions work with = instead of ==