indice= new Array (0,
	1,2,171,59,
	38,176,178,41,32,172,33,3,114,200,
	218,4,198,37,113,175,199,193,192,194,219,
	177,92,6,165,173,213,5,201,86,
	11,49,28,88,50,180,143,87,62,137,136,12,
	74,100,73,39,123,160,134,61,94,163,118,91,
	95,196,13,108,107,120,14,214,72,98,99,104,202,60,
	26,63,151,153,162,24,126,152,190,215,25,154,48,84,155,82,42,71,83,184,106,67,105,
	140,70,122,149,124,97,16,129,150,157,65,34,66,
	130,7,68,156,189,216,96,76,89,146,69,51,
	110,220,103,170,195,30,133,205,53,167,148,217,102,132,174,15,29,116,80,119,
	17,179,117,197,191,131,77,8,166,111,128,159,147,
	78,221,64,182,127,138,222,169,183,9,27,52,158,141,58,79,125,115,18,186,161,168,223,109,204,224,
	35,36,112,19,139,10,57,188,90,187,56,121,81,40,85,93,164,20,135,21,22,23,31,
	54,185,225,226,227,228,231,232,233,235,234,229,230,236,238,239,242,240,241,244,243,246,245,
	43,44,45,46,47,55,75,101,142,181,203,206,207,208,209,210,211,212,237);

pos_nuove="243";

var numero_foto=indice.length-1;
descr = new Array ([numero_foto+1]);
tipo= new Array([numero_foto+1]);


descr_cat= new Array([16]);
descr_cat[0]="Infanzia";
descr_cat[1]="Karting - 1974-1982";
descr_cat[2]="Formula Ford - 1981-1982";
descr_cat[3]="Formula 3 - 1983";
descr_cat[4]="Toleman Hart - 1984";
descr_cat[5]="Lotus-Renault - 1985";
descr_cat[6]="Lotus-Renault - 1986";
descr_cat[7]="Lotus-Honda - 1987";
descr_cat[8]="McLaren-Honda - 1988";
descr_cat[9]="McLaren-Honda - 1989";
descr_cat[10]="McLaren-Honda - 1990";
descr_cat[11]="McLaren-Honda - 1991";
descr_cat[12]="McLaren-Honda - 1992";
descr_cat[13]="McLaren-Ford - 1993";
descr_cat[14]="Williams-Renault - 1994";
descr_cat[15]="Omaggi";
descr_cat[16]="Posters";

var numero_cat=descr_cat.length-1;

function getFirstFoto (cat){
var num=0; 
for (var numero=1; numero<=numero_foto; numero++){
	num=indice[numero];
	if (tipo[num]==cat) return num;
}
} 

function getLastFoto (cat){
var num=0; 
for (var numero=numero_foto; numero>=1; numero--){
	num=indice[numero];
	if (tipo[num]==cat) return num;
}
} 
