
Definir('Seccion', 'Cortos');

document.write('<script src="'+gNv+'menucabe.js"></script>' +
				'<script src="'+gNv+'menusitio.js"></script>'+
				'<script src="'+gNv+'varios/recursos/logos.js"></script>');

var mCortos = new Array();
ndx = -1;

var xCortos = new Array ("A"
	/*  67*/ ,"67", "a67"
	/*anim*/ ,"L`Animateur", "animateur"
	/*aqui*/ ,"Aquí y ahora", "aquiyahora"
	/*aree*/ ,"Are We There Yet?", "arewethereyet"
	/*ataq*/ ,"El ataque del hombre de las manos pringosas", "ataquepringoso"
	/*atra*/ ,"Atrapado en un CD", "atrapadoenuncd"
	/*avar*/ ,"Avatar", "avatar"
);
mCortos[++ndx] = xCortos;

var xCortos = new Array ("B"
	/*bare*/ ,"Bareco 4", "bareco4" 
	/*bnc1*/ ,"BNC-179", "bnc179" 
	/*bota*/ ,"Botánica", "Botanica" 
);
mCortos[++ndx] = xCortos;

var xCortos = new Array ("C"
	/*carr*/ ,"Carroña", "carrona"
	/*cate*/ ,"The cathedral", "cathedral"
	/*cont*/ ,"Control", "control"
);
mCortos[++ndx] = xCortos;

var xCortos = new Array ("D"
	,"Destrucción total", "DestruccionTotal"
	,"Déjà vu", "dejavu"
	,"Día de regreso", "DiaDeRegreso"
);
mCortos[++ndx] = xCortos;

var xCortos = new Array ("E"
	/*ecli*/ ,"L´éclipse du soleil en pleine lune", "eclipsedusoleil"
	/*ella*/ ,"Ella es el origen", "EllaEsElOrigen"
	/*endo*/ ,"The end of World", "endofWorld"
	/*eras*/ ,"Erase una vez el hombre", "eraseunavezelhombre"
	/*esca*/ ,"Les escargots", "escargots"
	/*eta */ ,"E.T.A.", "eta"
	/*exod*/ ,"Éxodo", "exodo"
	/*exti*/ ,"The extinguisher", "extinguisher"
);
mCortos[++ndx] = xCortos;

var xCortos = new Array ("F"
	/*frec*/ ,"Frecuencia", "frecuencia"
);
mCortos[++ndx] = xCortos;

var xCortos = new Array ("G"
	,"Get the time", "getthetime"
);
mCortos[++ndx] = xCortos;

var xCortos = new Array ("H"
	/*habi*/ ,"La habitación contigua", "habitacioncontigua"
	/*hard*/ ,"Hardwar", "hardwar"
	/*hear*/ ,"Heartbeat", "heartbeat"
	/*herm*/ ,"Hermanos", "hermanos"
	/*huid*/ ,"Huida a Venus", "HuidaAVenus"
);
mCortos[++ndx] = xCortos;

var xCortos = new Array ("I"
	/*isaa*/ ,"Isaac", "isaac"
	/*insp*/ ,"Inspiración y otro cuento de ciencia ficción", "inspiracion"
);
mCortos[++ndx] = xCortos;

var xCortos = new Array ("L"
	,"LC 520", "lc520"
	,"Loop", "loop"
);
mCortos[++ndx] = xCortos;

var xCortos = new Array ("M"
	/*mano*/ ,"La mano de Obregón", "manodeobregon"
	/*mayo*/ ,"Mayoría simple", "mayoriasimple"
	/*mist*/ ,"Misterio en el planeta de los simios", "misterioplanetasimios"
	/*more*/ ,"More", "more"
	/*mult*/ ,"Multiverso", "Multiverso"
);
mCortos[++ndx] = xCortos;

var xCortos = new Array ("N"
	,"Non incontri ravvicinati", "nonincontri"
);
mCortos[++ndx] = xCortos;

var xCortos = new Array ("O"
	,"Open", "open"
);
mCortos[++ndx] = xCortos;

var xCortos = new Array ("P"
	,"Pulsar", "Pulsar"
);
mCortos[++ndx] = xCortos;

var xCortos = new Array ("R"
	,"Retro-Causation", "retrocausation"
	,"Roboprimo", "Roboprimo"
);
mCortos[++ndx] = xCortos;

var xCortos = new Array ("S"
	/*seis*/ ,"Seis horas después", "seishorasdespues"
	/*sile*/ ,"Silent city", "silentcity"
	/*skyw*/ ,"Skywhales", "skywhales"
	/*somb*/ ,"Sombras de ciudad", "sombrasdeciudad"
	/*soña*/ ,"Soñando a través del tiempo", "sonandoatravesdeltiempo"
	/*st01*/ ,"Sin título", "sintitulo01"
	/*stea*/ ,"Steam Trek", "steamtrek"
	/*stur*/ ,"Sturmsoldat", "sturmsoldat"
	/*suen*/ ,"Sueños digitales", "SuenosDigitales"
);
mCortos[++ndx] = xCortos;


var xCortos = new Array ("T"
	/*tiwa*/ ,"Tiwana K-235-U", "tiwanak235u"
	/*torm*/ ,"Tormentas eléctricas", "tormentaselectricas"
);
mCortos[++ndx] = xCortos;

var xCortos = new Array ("U"
	/*ulti*/ ,"La última patrulla", "ultimapatrulla"
	/*uncr*/ ,"Un crimen", "uncrimen"
	/*up  */ ,"UP", "up"
);
mCortos[++ndx] = xCortos;

var xCortos = new Array ("V"
	/*viju*/ ,"Viaje a Júpiter", "ViajeJupiter"
	/*vilu*/ ,"Viaje a la Luna", "viajeluna"
	/*virt*/ ,"Virtual", "Virtual"
	/*viru*/ ,"Virus-H", "virush"
	/*vuel*/ ,"Vuelo de represalia", "vueloderepresalia"
);
mCortos[++ndx] = xCortos;

var xCortos = new Array ("Y"
	,"Yo al cuadrado", "yoalcuadrado"
);
mCortos[++ndx] = xCortos;

var LetrasActivas = '';
for (n = 0; n < mCortos.length; n++) {
	LetrasActivas = LetrasActivas + (n != 0 ? ', ' : '') + mCortos[n][0];
}

// --------------------------------------------------------------
function ConstruyeIndice()
{
var c, l, n, mLetra;

if (NombrePagina(0) == "index" || NombrePagina(0) == "") {
	var mLetra = vbSplit(LetrasActivas, ',');
	Definir("CorLetra", mLetra[Aleatorio(0, mLetra.length -1)]);
} else {
	Definir("CorLetra", vbUcase(vbLeft(NombrePagina(0), 1)));
}

LogoSeccion('Cortos');

// Letras
document.write('<hr />\n<center>\n<div class="indiceapagado fuente_10" style="width:85%;">\n');
	for (n = 65; n <= 90; n++) {
		l = String.fromCharCode(n);
		c = '\t';
		if (vbInStr(LetrasActivas, l) != -1 ) {
			c = c + '<a href="javascript:MuestraLetra(\'' + l + '\');">' + l + '</a>';
		} else {
			c = c + l;
		}
		document.write(c + '&nbsp;&nbsp;\n');
	}
document.write('</div>\n<hr />\n</center>\n\n');

for (n = 0; n < mCortos.length; n++) {
	CapaLetra(mCortos[n]);
}

document.write('<hr />');

}
// --------------------------------------------------------------

// --------------------------------------------------------------
function CapaLetra(Cl) {
	
	var n, Letra;

	Letra = Obtener("CorLetra");

	document.write('<div style="display:' + (Letra == Cl[0] ? "block" : "none") + ';" id="' + Cl[0] + '">\n' +
				'<div class="item"><b>'+Cl[0]+'</b></div>\n'+
			'<hr />\n');

	for (n = 1; n < Cl.length; n = n + 2) {
		document.write('\t<div class="item">\n' +
				'\t\t<a href="' + vbLcase(Cl[n+1]) + '.htm" class="bmar" target="_top">' + 
				(vbLcase(Cl[n+1]) == vbLcase(NombrePagina(0)) ? '<b>' : '') +
				Cl[n] + 
				(vbLcase(Cl[n+1]) == vbLcase(NombrePagina(0)) ? '</b>' : '') +
				'</a>\n' +
			'\t</div>\n');
	}	

	document.write(	'</div>\n\n');
}
// --------------------------------------------------------------

// --------------------------------------------------------------
function MuestraLetra(Letra)
{
var a, n, l;

	for (n = 65; n <= 90; n++) {
		if (vbInStr(LetrasActivas, String.fromCharCode(n)) != -1 ) VerNoVer(String.fromCharCode(n), 0);
	}
	VerNoVer(Letra, 1);

	Definir("CorLetra", Letra);

	for (n = 0; n < mCortos.length; n++) {
		if (Letra == mCortos[n][0]) { 
			l = (mCortos[n].length - 1) / 2;
			a = (Aleatorio(1, l) * 2);
			location.href = vbLcase(mCortos[n][a]) + '.htm';
			break;
		}
	}

	return false;

}
// --------------------------------------------------------------


// --------------------------------------------------------------
function VerParte(Parte) {

	VerNoVer('parte1', 0); 
	VerNoVer('parte2', 0); 
	VerNoVer('parte3', 0); 
	VerNoVer('parte4', 0); 
	VerNoVer('parte'+Parte, 1);
	
}
// --------------------------------------------------------------

