Using links to trigger events

Click to confirm if you want to follow the link
Click to change colors
This text should be should have the new foreground color if you are using Internet Explorer or Netscape 6.