
	function showCdInfo(nr){
		for(c=1;c<6;c++){
			if(c == nr){
				changeDisplayOf("cd"+c,"block");
			}
			else{
				changeDisplayOf("cd"+c,"none");
			}
			
		}
	}
	
	
	function changeVisibilityOf(id,val){
		document.getElementById(id).style.visibility=val;
	}		

	function changeDisplayOf(id,val){
		document.getElementById(id).style.display=val;
	}		

	function toggleDisplayOf(id){
		if(el=document.getElementById(id)){
			toggleContentDisplay(el);
		}
	}		


	function hide(id){
		changeVisibilityOf(id,"hidden");
	}
	function show(id){
		changeVisibilityOf(id,"visible");
	}
	
	toggleClassName=function(el) {

		if(el.className=="" || (el.className.search("over")==-1)){
			el.className+=" over";
		}
		else {
			el.className=el.className.replace(" over", "");
			el.className=el.className.replace("over", ""); //firefox workaround	
		}
	}	

	function openWindow(loc,width,height,name){
		if((!name)||( name=="")){name="popUp";}
		var par="";
		var par="width="+width+",height="+height;
		par+=",status=yes,menubar=yes,locationbar=yes1,resizeable=yes,scrollbars=1";
		if(self[name]){if (!self[name].closed){self[name].close();}}
		self[name]=window.open(loc,name,par);
		setTimeout("self['"+name+"'].focus();",100);
	}


	
	
		function toggleContentDisplay(targetContainer, status){
				var targetContainer;
				if(status){
					targetContainer.style.display=status;
				}
				else{
					if(targetContainer.style.display=="none" || targetContainer.style.display==""){
						targetContainer.style.display="block";
					}
					else{
						targetContainer.style.display="none";
					}
				}
			}
			
			
			
			
	
