function switchSound(soundId, baseUrl) {
	var o = document.getElementById(soundId);
	var iSound = o.src.indexOf("sound");
	var mode = o.src.substring(iSound + 5, iSound + 5 + 2);
	if (mode == "on") {
		o.src = o.src.substring(0, iSound + 5) + "off." + o.src.substring(iSound + 5 + 2 + 1);
		if (parent.frames["player"]) {
			parent.frames["player"].location = baseUrl + "blank.htm";
		}
	} else {
		o.src = o.src.substring(0, iSound + 5) + "on." + o.src.substring(iSound + 5 + 3 + 1);
		if (parent.frames["player"]) {
			parent.frames["player"].location = baseUrl + "player.htm";
		}
	}
}

function switchDisplay(id1, id2, isVisible) {
	var obj1 = document.getElementById(id1);
	var obj2 = document.getElementById(id2);
	if (isVisible) {
		obj2.style.display = "none";
		obj1.style.display = "block";
	} else {
		obj1.style.display = "none";
		obj2.style.display = "block";
	}
}
