Actually, Karoly, I understood what you wrote and it sounds like a good solution to the problem. Well done! I still vote for hook_dispatch instead of hook_router. ;-)