$('#report tr.odd').bind('mouseenter mouseleave', function(e) {
var self = $(this),
next = self.next();
if (next[0] === $(e.relatedTarget).closest('tr')[0]) {
return;
}
if (e.type == 'mouseenter') {
next.show();
} else {
$('#report tr:not(.odd, :first-child)').hide();
}
self.find('.arrownext').toggleClass('up');
}).eq(0).triggerHandler('mouseenter');
$('#report tr:not(.odd, :first-child)').bind('mouseleave', function(e) {
var self = $(this),
prev = self.prev();
if (prev[0] === $(e.relatedTarget).closest('tr')[0]) {
return;
}
self.hide();
prev.find('.arrownext').toggleClass('up');
});