Yes, thanks Twey. The menus I mentioned have handlers that do that or similar for you with URLS that begin with 'javascript:'