= document.getElementById('aplayer');
	audioPlayer.pause();
	audioPlayer.parentElement.style.display = 'none';
	document.querySelectorAll('th').forEach((th) => th.classList.toggle('offset'));

	if (window.currentLink) {
		window.currentLink.classList.remove('nowPlaying');
	}
}

function onLinkClicked(link, evt) {
	var href = link.getAttribute("href");

	if (window.currentLink && REGEX_TYPE_AUDIO.test(href)) {
		window.currentLink.classList.remove('nowPlaying');
	}
	window.currentLink = link;

	const event =