Activity reports and accreditation
');
}
hovertstamp = 0;
function dhover(D) {
if (!D.open) {
const d = new Date();
hovertstamp = d.getTime()
D.open = true;
}
}
function dclick(D, e) {
const d = new Date();
now = d.getTime();
if ( now-hovertstamp < 200 ) {
e.preventDefault();
}
}
var A = document.querySelectorAll('details.dropdown');
A.forEach(D => {
D.addEventListener('click', event => {
dclick(D, event)
});
D.addEventListener('mouseenter', event => {
dhover(D)
});
D.addEventListener("toggle", event =>
D.open && A.forEach(d =>
d!=event.target && (d.open=false)
)
)
})
hgbody = document.querySelector('.hg-body');
if (hgbody) {
hgbody.addEventListener('click', event => {
(A.forEach(d => d.open=false ))
});
};
// -->