// JavaScript Document
function hideLayer(whichLayer) {

if (document.getElementById) {
// this is the way the standards work
document.getElementById(whichLayer).style.display = "none";
}
else if (document.all) {
// this is the way old msie versions work
document.all[whichlayer].style.display = "none";
}
else if (document.layers) {
// this is the way nn4 works
document.layers[whichLayer].display = "none";
}

}

function showLayer(whichLayer) {

if (document.getElementById) {
// this is the way the standards work
document.getElementById(whichLayer).style.display = "";
}
else if (document.all) {
// this is the way old msie versions work
document.all[whichlayer].style.display = "";
}
else if (document.layers) {
// this is the way nn4 works
document.layers[whichLayer].display = "";
}

}

function handleClick(whichClick) {

if (whichClick == "hide all") {
// then the user wants to hide the layer
hideLayer("playlist");
//hideLayer("schedule");
hideLayer("archives");
hideLayer("faq");

}
else if (whichClick == "showPlaylist") {
// then the user wants to show the layer
showLayer("playlist");
}
else if (whichClick == "showSchedule") {
// then the user wants to show the layer
showLayer("schedule");
}
else if (whichClick == "showArchives") {
// then the user wants to show the layer
showLayer("archives");
}
else if (whichClick == "showFAQ") {
// then the user wants to show the layer
showLayer("faq");
}

}