On 6/20/06, s g <junkvendoremail at yahoo.com> wrote:
> link.href = "javascript:my_function()";
>
link.addEventListener('click', my_function, false);
my_function should take an argument e.
If you want to prevent the click from doing it's normal think, you'll
want to call
e.preventDefault();