attachEvent onclick instead of click.