function episode(num) {
	tit = document.getElementById('ep_tit_' + num);	
	if (tit != null && tit.style.display!='none') {
		hideEps();
		showEp(num);
	} else {
		hideEps();
	}
}

function showEp(i) {
	tit = document.getElementById('ep_tit_' + i);
	full = document.getElementById('ep_full_' + i);
	if (tit != null && full != null) {
			tit.style.display = 'none';
			full.style.display = 'block';
	}
}

function hideEp(i) {
	tit = document.getElementById('ep_tit_' + i);
	full = document.getElementById('ep_full_' + i);
	if (tit != null && full != null) {
			tit.style.display = 'block';
			full.style.display = 'none';
	}
}


function hideEps() {
	for(i=1;i<16;i++) {
		hideEp(i);
	}
}

