rendered paste bodyattachHoverAndFocus = function ()
{
var woink = document.getElementsByTagName ("tr");
for (var j = 0; j < woink.length; j++)
{
woink[j].onmouseover = function ()
{
this.className += ' hover';
}
woink[j].onclick = function ()
{
if (this.className.match('highlight'))
{
this.className = this.className.replace (' highlight', '');
}
else
{
this.className += ' highlight';
}
}
woink[j].onmouseout = function ()
{
this.className = this.className.replace (' hover', '');
}
}
}
if (window.attachEvent) window.attachEvent('onload', attachHoverAndFocus);