abierto=0		
	neventos=5;
cursos = new Array()

function solo(f){	
	if (document.getElementById){
		if (f==abierto){
		cursos[f].className='oculto3';
		abierto=0
		}
		else{
			if (f==0){
			cursos[f].className='visible3';
			abierto=f
			}
			else{
				for (n=1;n<=neventos;n++){
				cursos[n].className='oculto3'
				}
			cursos[f].className='visible3'
			abierto=f
			}
		}
	}	
}

function init(){
	if (document.getElementById){		
		for (n=1;n<=neventos;n++){
		cual='d'+n
		cursos[n]=document.getElementById(cual)
		}
	}
}