]<script>
function attachLinksEvent()
{
var links=document.getElementsByTagName('a');
for(var i=0;i<links.length;i++)
{
links[i].onmouseover=linkBehavior;
}
}
function linkBehavior(e)
{
if(e==null)
e=window.event;
if(e.target)
alert(e.target.innerHTML);
else
alert(e.srcElement.innerHTML);
}
window.onload=attachLinksEvent;
</script>