rySelector('#popup1');
	if (popup.style.display !== 'none') {
		popup.querySelector('.popup').classList.toggle('maximized');
	}
}

function onAudioEnded(el) {
	if (el && window.currentLink) {
		window.currentLink.classList.remove('nowPlaying');
		let nextLink= findNextPrevLink(window.currentLink, REGEX_TYPE_AUDIO);
		const href = nextLink.getAttribute('href');

		if (REGEX_TYPE_AUDIO.test(href)) {
			el.src = href;
			el.play();
			el.title = decodeURIComponent(href);
			nextLink.classList.add('nowPlaying')