<!DOCTYPE HTML>
<html>
<head>
  <style type='text/css'>
    a        { color: black; }
    a:target { color: red; }
  </style>
</head>

<body onload='(opener || parent).popupLoaded()'>

<a id='a' href='#a'>link</a>
<a id='b' href='#b'>link2</a>

</body>
</html>
