Thanks for the idea. What I really need should happen in the client script though.