// Cycles
// (c) Cpt Harddock 2004-2010
// http://www.thorgal-bd.fr/

var cycles=new Array ("","La Reine des Mers Gelées","Les Bienveillants","Brek Zarith","Les origines","Alinoë","Au Pays Qâ","Les origines","Vers le Nord","Shaïgan-sans-merci","Les voyages de Thorgal","Le dernier voyage","Le successeur");
var cycle_nb=new Array (0,1,1,2,3,3,3,4,5,6,6,6,6,6,7,8,8,8,9,9,9,9,9,9,10,10,10,11,11,11,12,12,12);
var albums=new Array ("","La Magicienne trahie","L'Ile des Mers gelées","Les trois Vieillards du Pays d'Aran","La Galère noire","Au-delà des Ombres","La Chute de Brek Zarith","L'Enfant des Etoiles","Alinoë","Les Archers","Le Pays Qâ","Les Yeux de Tanatloc","La Cité du Dieu perdu","Entre Terre et Lumière","Aaricia","Le Maître des Montagnes","Louve","La Gardienne des Clés","L'Epée-Soleil","La Forteresse invisible","La Marque des Bannis","La Couronne d'Ogotaï","Géants","La Cage","Arachnéa","Le Mal bleu","Le Royaume sous le Sable","Le Barbare","Kriss de Valnor","Le Sacrifice","Moi, Jolan","Le bouclier de Thor","La bataille d'Asgard");

var ligne=new Array;
ligne[1]='<a href="thorgal_cycles_01.php" onmouseover="titre(1);self.status=albums[1];return true" onmouseout="titre(0)" onfocus="blur();"><img border="0" src="images/albums/01mini.jpg" width="50" height="68"></a>&nbsp;<a href="thorgal_cycles_02.php" onmouseover="titre(2);self.status=albums[2];return true" onmouseout="titre(0)" onfocus="blur();"><img border="0" src="images/albums/02mini.jpg" width="50" height="68"></a>';
ligne[2]='<a href="thorgal_cycles_03.php" onmouseover="titre(3);self.status=albums[3];return true" onmouseout="titre(0)" onfocus="blur();"><img border="0" src="images/albums/03mini.jpg" width="50" height="68"></a>&nbsp;';
ligne[3]='<a href="thorgal_cycles_04.php" onmouseover="titre(4);self.status=albums[4];return true" onmouseout="titre(0)" onfocus="blur();"><img border="0" src="images/albums/04mini.jpg" width="50" height="68"></a>&nbsp;<a href="thorgal_cycles_05.php" onmouseover="titre(5);self.status=albums[5];return true" onmouseout="titre(0)" onfocus="blur();"><img border="0" src="images/albums/05mini.jpg" width="50" height="68"></a>&nbsp;<a href="thorgal_cycles_06.php" onmouseover="titre(6);self.status=albums[6];return true" onmouseout="titre(0)" onfocus="blur();"><img border="0" src="images/albums/06mini.jpg" width="50" height="68"></a>';
ligne[4]='<a href="thorgal_cycles_07.php" onmouseover="titre(7);self.status=albums[7];return true" onmouseout="titre(0)" onfocus="blur();"><img border="0" src="images/albums/07mini.jpg" width="50" height="68"></a>&nbsp;';
ligne[5]='<a href="thorgal_cycles_08.php" onmouseover="titre(8);self.status=albums[8];return true" onmouseout="titre(0)" onfocus="blur();"><img border="0" src="images/albums/08mini.jpg" width="50" height="68"></a>&nbsp;';
ligne[6]='<a href="thorgal_cycles_09.php" onmouseover="titre(9);self.status=albums[9];return true" onmouseout="titre(0)" onfocus="blur();"><img border="0" src="images/albums/09mini.jpg" width="50" height="68"></a>&nbsp;<a href="thorgal_cycles_10.php" onmouseover="titre(10);self.status=albums[10];return true" onmouseout="titre(0)" onfocus="blur();"><img border="0" src="images/albums/10mini.jpg" width="50" height="68"></a>&nbsp;<a href="thorgal_cycles_11.php" onmouseover="titre(11);self.status=albums[11];return true" onmouseout="titre(0)" onfocus="blur();"><img border="0" src="images/albums/11mini.jpg" width="50" height="68"></a>&nbsp;<a href="thorgal_cycles_12.php" onmouseover="titre(12);self.status=albums[12];return true" onmouseout="titre(0)" onfocus="blur();"><img border="0" src="images/albums/12mini.jpg" width="50" height="68"></a>&nbsp;<a href="thorgal_cycles_13.php" onmouseover="titre(13);self.status=albums[13];return true" onmouseout="titre(0)"><img border="0" src="images/albums/13mini.jpg" width="50" height="68"></a>';
ligne[7]='<a href="thorgal_cycles_14.php" onmouseover="titre(14);self.status=albums[14];return true" onmouseout="titre(0)" onfocus="blur();"><img border="0" src="images/albums/14mini.jpg" width="50" height="68"></a>&nbsp;';
ligne[8]='<a href="thorgal_cycles_15.php" onmouseover="titre(15);self.status=albums[15];return true" onmouseout="titre(0)" onfocus="blur();"><img border="0" src="images/albums/15mini.jpg" width="50" height="68"></a>&nbsp;<a href="thorgal_cycles_16.php" onmouseover="titre(16);self.status=albums[16];return true" onmouseout="titre(0)" onfocus="blur();"><img border="0" src="images/albums/16mini.jpg" width="50" height="68"></a>&nbsp;<a href="thorgal_cycles_17.php" onmouseover="titre(17);self.status=albums[17];return true" onmouseout="titre(0)" onfocus="blur();"><img border="0" src="images/albums/17mini.jpg" width="50" height="68"></a>';
ligne[9]='<a href="thorgal_cycles_18.php" onmouseover="titre(18);self.status=albums[18];return true" onmouseout="titre(0)" onfocus="blur();"><img border="0" src="images/albums/18mini.jpg" width="50" height="68"></a>&nbsp;<a href="thorgal_cycles_19.php" onmouseover="titre(19);self.status=albums[19];return true" onmouseout="titre(0)" onfocus="blur();"><img border="0" src="images/albums/19mini.jpg" width="50" height="68"></a>&nbsp;<a href="thorgal_cycles_20.php" onmouseover="titre(20);self.status=albums[20];return true" onmouseout="titre(0)" onfocus="blur();"><img border="0" src="images/albums/20mini.jpg" width="50" height="68"></a>&nbsp;<a href="thorgal_cycles_21.php" onmouseover="titre(21);self.status=albums[21];return true" onmouseout="titre(0)" onfocus="blur();"><img border="0" src="images/albums/21mini.jpg" width="50" height="68"></a>&nbsp;<a href="thorgal_cycles_22.php" onmouseover="titre(22);self.status=albums[22];return true" onmouseout="titre(0)"><img border="0" src="images/albums/22mini.jpg" width="50" height="68"></a>&nbsp;<a href="thorgal_cycles_23.php" onmouseover="titre(23);self.status=albums[23];return true" onmouseout="titre(0)" onfocus="blur();"><img border="0" src="images/albums/23mini.jpg" width="50" height="68"></a>';
ligne[10]='<a href="thorgal_cycles_24.php" onmouseover="titre(24);self.status=albums[24];return true" onmouseout="titre(0)" onfocus="blur();"><img border="0" src="images/albums/24mini.jpg" width="50" height="68"></a>&nbsp;<a href="thorgal_cycles_25.php" onmouseover="titre(25);self.status=albums[25];return true" onmouseout="titre(0)" onfocus="blur();"><img border="0" src="images/albums/25mini.jpg" width="50" height="68"></a>&nbsp;<a href="thorgal_cycles_26.php" onmouseover="titre(26);self.status=albums[26];return true" onmouseout="titre(0)" onfocus="blur();"><img border="0" src="images/albums/26mini.jpg" width="50" height="68"></a>';
ligne[11]='<a href="thorgal_cycles_27.php" onmouseover="titre(27);self.status=albums[27];return true" onmouseout="titre(0)" onfocus="blur();"><img border="0" src="images/albums/27mini.jpg" width="50" height="68"></a>&nbsp;<a href="thorgal_cycles_28.php" onmouseover="titre(28);self.status=albums[28];return true" onmouseout="titre(0)" onfocus="blur();"><img border="0" src="images/albums/28mini.jpg" width="50" height="68"></a>&nbsp;<a href="thorgal_cycles_29.php" onmouseover="titre(29);self.status=albums[29];return true" onmouseout="titre(0)" onfocus="blur();"><img border="0" src="images/albums/29mini.jpg" width="50" height="68"></a>';
ligne[12]='<a href="thorgal_cycles_30.php" onmouseover="titre(30);self.status=albums[30];return true" onmouseout="titre(0)" onfocus="blur();"><img border="0" src="images/albums/30mini.jpg" width="50" height="68"></a>&nbsp;<a href="thorgal_cycles_31.php" onmouseover="titre(31);self.status=albums[31];return true" onmouseout="titre(0)" onfocus="blur();"><img border="0" src="images/albums/31mini.jpg" width="50" height="68"></a>&nbsp;<a href="thorgal_cycles_32.php" onmouseover="titre(32);self.status=albums[32];return true" onmouseout="titre(0)" onfocus="blur();"><img border="0" src="images/albums/32mini.jpg" width="50" height="68"></a>';

function placer(qui){
this.nomb=qui;
this.cycle=cycle_nb[qui];
if(document.all){
document.all("titre").innerHTML='<font color="#993300">'+cycles[this.cycle]+'</font>';
document.all("contenu").innerHTML=ligne[this.cycle];
}
if(!document.all){
document.getElementById("titre").innerHTML='<font color="#993300">'+cycles[this.cycle]+'</font>';
document.getElementById("contenu").innerHTML=ligne[this.cycle];
}}

function titre(alb){
if(document.all){
document.all("titre").innerHTML=albums[alb];
if(alb==0)document.all("titre").innerHTML='<font color="#993300">'+cycles[this.cycle]+'</font>';
}
if(!document.all){
document.getElementById("titre").innerHTML=albums[alb];
if(alb==0)document.getElementById("titre").innerHTML='<font color="#993300">'+cycles[this.cycle]+'</font>';
}
}

function bouge(i){
if(i==0)this.cycle--;
if(this.cycle==0)this.cycle=12;
if(i==1)this.cycle++;
if(this.cycle==13)this.cycle=1;
if(document.all)document.all("contenu").innerHTML=ligne[this.cycle];
if(!document.all)document.getElementById("contenu").innerHTML=ligne[this.cycle];
titre(0);
}