function closeAll() {
	document.getElementById('podmenu1').style.display = "none";
	document.getElementById('podmenu2').style.display = "none";
	document.getElementById('podmenu3').style.display = "none";
	document.getElementById('podmenu4').style.display = "none";
	document.getElementById('podmenu5').style.display = "none";
}

function showMenu(id) {
	closeAll();
	document.getElementById(id).style.display = "block";
}

function changePodcast(podcast_rss, div_id) {
    s1.addVariable("file", podcast_rss);
    s1.write(div_id);
}

function prehratHit(cesta) {
    //document.getElementById('prehravac').style.display = "block";
    document.getElementById('player').style.display = "block";
    s2.addVariable("file", cesta);
    s2.write("prehrathit");
}

function prehratZavrit() {
    document.getElementById('player').style.display = "none";

}

function openWindowPlayer() {
    window.open("", "on-line-player", 'toolbar=0,location=0,scrollbars=0,width=750,height=570,resizable=0,left=0,top=0');
}
