function cambia_testo(tipo) {
	var tipo_01 = new String("Le Squadre sono composte da nove giocatori ciascuna, più un numero illimitato di riserve.<br><br>Contrariamente a tutti gli altri giochi, le due Squadre non sono contemporaneamente in campo, una si dispone in campo per la “difesa”, l’altra in “panchina” ed invia uno alla volta i giocatori “alla battuta” per l’”attacco”, secondo un “ordine prestabilito”.<br><br><br><img src=\"img/fondamentali/01.jpg\" width=\"273\" height=\"196\" border=\"0\">");
	var tipo_02 = new String("Il Campo è definito da due “linee di foul” ad angolo retto.<br><br> All'interno di queste si trova il piatto di casa base. I giocatori “in difesa” hanno ciascuno un ruolo fisso ed una posizione sul campo, come nel disegno.<br><br><br><img src=\"img/fondamentali/02.jpg\" width=\"273\" height=\"196\" border=\"0\">");
	var tipo_03 = new String("Il gioco ha inizio con il lancio della palla da parte del lanciatore.<br><br>Questi si trova sulla “pedana” al centro del diamante. Il Lanciatore deve lanciare la palla al compagno “ricevitore” che si trova dietro casa base.<br><br><br><img src=\"img/fondamentali/03.jpg\" width=\"273\" height=\"196\" border=\"0\">");
	var tipo_04 = new String("Il Lanciatore deve far passare la palla sopra il piatto di casa base ad un'altezza variabile tra il livello delle ginocchia e quello delle ascelle del “battitore” avversario.<br><br>Questo rettangolo immaginario si chiama “zona dello strike”.<br><br><br><img src=\"img/fondamentali/04.jpg\" width=\"273\" height=\"196\" border=\"0\">");
	var tipo_05 = new String("Se il lanciatore non lancia la palla nella zona dello strike ed il battitore non tenta di colpirla, l'arbitro chiama un “ball”.<br><br>Quando il numero dei balls (anche alternati agli strikes) arriva a quattro, il battitore ha diritto alla prima base.<br><br><br><img src=\"img/fondamentali/05.jpg\" width=\"273\" height=\"196\" border=\"0\">");
	var tipo_06 = new String("Quando la palla passa nella zona dello strike ed il battitore la “lascia passare” o tenta di colpirla senza riuscirvi, l'arbitro capo chiama uno strike. Dopo tre strikes il battitore è eliminato.<br><br><br><img src=\"img/fondamentali/06.jpg\" width=\"273\" height=\"196\" border=\"0\">");
	var tipo_07 = new String("Con tale azione il battitore-corridore segnerebbe un punto per la squadra all'attacco.<br><br>I giocatori in difesa hanno il compito di impedirgli tutto questo: eliminandolo. L' “eliminazione” può avvenire in uno dei seguenti modi: la battuta al volo, la toccata, il gioco forzato, la doppia eliminazione.<br><br><br><img src=\"img/fondamentali/07.jpg\" width=\"273\" height=\"196\" border=\"0\">");
	var tipo_08 = new String("Quando il battitore colpisce la palla e corre verso la prima base, se la palla viene presa al volo, cioè prima che tocchi terra, da un qualunque difensore ed in qualsiasi punto del terreno di gioco: il battitore è eliminato.<br><br><br><img src=\"img/fondamentali/08.jpg\" width=\"273\" height=\"196\" border=\"0\">");
	var tipo_09 = new String("Dopo aver battuto la palla nel territorio buono, il battitore ( divenuto così corridore), è eliminato se viene toccato con la palla, tenuta in mano, da uno dei difensori che l'abbia “raccolta” su battuta o ricevuta su “passaggio” di un compagno, se non a contatto della base.<br><br><br><img src=\"img/fondamentali/09.jpg\" width=\"273\" height=\"196\" border=\"0\">");
	var tipo_10 = new String("Quando un corridore avanza verso una base e non può tornare indietro (esempio: dopo la battuta è obbligato ad andare verso la prima base) se un difensore in possesso della palla (raccolta o ricevuta su passaggio) tocca tale base prima del corridore, questi è eliminato.<br><br><br><img src=\"img/fondamentali/10.jpg\" width=\"273\" height=\"196\" border=\"0\">");
	var tipo_11 = new String("Quando oltre al battitore-corridore, vi sono più corridori in base, la difesa ha la possibilità di effettuare più di una eliminazione.<br><br>In particolare se vi sono situazioni di “gioco forzato” su battute interne a terra o su battute al volo quando il battitore o il corridore debbono tornare se staccati.<br><br><br><img src=\"img/fondamentali/11.jpg\" width=\"273\" height=\"196\" border=\"0\">");
	var tipo_12 = new String("Non appena, in poche o in molte successive azioni, tre attaccanti sono stati eliminati, termina una delle due fasi di un Inning (ripresa), la squadra in difesa esce dal campo per la battuta, si dispone sul campo in “difesa”.<br><br>Il cambio si effettua il più rapidamente possibile.<br><br><br><img src=\"img/fondamentali/12.jpg\" width=\"273\" height=\"196\" border=\"0\">");
	var tipo_13 = new String("Il corridore o i corridori rimasti in salvo sulle basi, cercheranno di avanzare verso la base, per segnare il punto sfruttando sia la battuta del compagno sia gli errori della difesa.<br><br>Gli attaccanti in campo possono essere fino a quattro: il battitore e tre corridori sulle basi.<br><br><br><img src=\"img/fondamentali/13.jpg\" width=\"273\" height=\"196\" border=\"0\">");
	var tipo_14 = new String("L'avversario alla battuta ha il compito di colpire la palla inviandola nel “territorio buono” all'interno delle linee di foul; lascia poi la mazza corre a toccare la prima, la seconda, la terza base e poi torna a toccare la casa base.<br><br><br><img src=\"img/fondamentali/14.jpg\" width=\"273\" height=\"196\" border=\"0\">");
	var tipo_15 = new String("Un'attaccante cercherà quindi di conquistare la base più lontana che può raggiungere senza venire eliminato, fermandosi su questa “in salvo”.<br><br>In tale caso anche l'azione si ferma e la palla torna quindi al lanciatore per iniziare il gioco sul battitore seguente.<br><br><br><img src=\"img/fondamentali/15.jpg\" width=\"273\" height=\"196\" border=\"0\">");
	var tipo_16 = new String("Una battuta che consente al battitore di raggiungere una o più basi ed agli eventuali corridori in base di avanzare senza che vi siano eliminazioni o errori della difesa: valida da uno, due, tre, quattro basi ed il “fuori campo” se la battuta supera il recinto del campo.<br><br><br><img src=\"img/fondamentali/16.jpg\" width=\"273\" height=\"196\" border=\"0\">");
	var tipo_17 = new String("I corridori, che sono guidati da suggeritori, possono tentare di guadagnare la base successiva, anche se non viene effettuata una battuta: se si evita l'eliminazione giungendo sulla base successiva, malgrado il passaggio del ricevitore, questa è una “rubata”.<br><br><br><img src=\"img/fondamentali/17.jpg\" width=\"273\" height=\"196\" border=\"0\">");
	var tipo_18 = new String("Per raggiungere una base senza rallentare la corsa, per fermarvisi a contatto e per evitare al massimo la possibilità di una “toccata”, il corridore usa spesso la “scivolata”.<br><br>Il giocatore può essere aiutato dai suggeritori.<br><br><br><img src=\"img/fondamentali/18.jpg\" width=\"273\" height=\"196\" border=\"0\">");
	var tipo_19 = new String("I guanti sono in cuoio ed imbottitti in punti diversi. I guanti per interni ed esterni hanno cinque dita con una tasca tra indice e pollice.<br><br>Il difensore di prima base usa un guanto con una sola divisione con in mezzo la tasca. Anche il guanto del ricevitore ha una sola divisione, ma è molto più imbottito degli altri a causa della velocità e continuità dei lanci. Oltre al guanto speciale, il ricevitore indossa: una pettorina in tela imbottita, gli schinieri in plastica e cuoio ed una maschera in lega leggera e cuoio. Tutto questo per proteggersi dalla palla che può essere deviata dalla mazza del battitore quando questi, nel tentativo di batterla, la sfiori solamente.<br><br><br><img src=\"img/fondamentali/19.jpg\" width=\"273\" height=\"196\" border=\"0\">");
	var tipo_20 = new String("Il battitore ha un caschetto in plastica per proteggersi da lanci errati che non riesce a schivare. La palla è abbastanza dura malgrado il suo ridotto diametro di circa 7 cm. ed il peso di circa 150 gr.<br><br>La mazza è in lega leggera, la sua lunghezza è di circa 85 cm. con il diametro di circa 6 cm.<br>Il piatto di casa base è in gomma dura, di forma pentagonale e deposto all'incrocio delle linee di foul, il fronte misura 43 cm.<br>La pedana del lanciatore misura 45 cm. per 10 cm. è anch'essa in gomma dura ed infissa al livello del terreno. Le basi possono essere in plastica dura o di tela con imbottitura, musirano 35 cm. di lato e sono saldamente fissate al terreno.<br><br><br><img src=\"img/fondamentali/20.jpg\" width=\"273\" height=\"196\" border=\"0\">");
	if (tipo == "1") {
	  	document.getElementById("testo").innerHTML = tipo_01;
		document.getElementById("c1").style.backgroundColor = "#FF1D00";
		document.getElementById("c2").style.backgroundColor = "#FFFFFF";
		document.getElementById("c3").style.backgroundColor = "#FFFFFF";
		document.getElementById("c4").style.backgroundColor = "#FFFFFF";
		document.getElementById("c5").style.backgroundColor = "#FFFFFF";
		document.getElementById("c6").style.backgroundColor = "#FFFFFF";
		document.getElementById("c7").style.backgroundColor = "#FFFFFF";
		document.getElementById("c8").style.backgroundColor = "#FFFFFF";
		document.getElementById("c9").style.backgroundColor = "#FFFFFF";
		document.getElementById("c10").style.backgroundColor = "#FFFFFF";
		document.getElementById("c11").style.backgroundColor = "#FFFFFF";
		document.getElementById("c12").style.backgroundColor = "#FFFFFF";
		document.getElementById("c13").style.backgroundColor = "#FFFFFF";
		document.getElementById("c14").style.backgroundColor = "#FFFFFF";
		document.getElementById("c15").style.backgroundColor = "#FFFFFF";
		document.getElementById("c16").style.backgroundColor = "#FFFFFF";
		document.getElementById("c17").style.backgroundColor = "#FFFFFF";
		document.getElementById("c18").style.backgroundColor = "#FFFFFF";
		document.getElementById("c19").style.backgroundColor = "#FFFFFF";
		document.getElementById("c20").style.backgroundColor = "#FFFFFF";
		document.getElementById("a1").style.color = "#FFFFFF";
		document.getElementById("a2").style.color = "#FF1D00";
		document.getElementById("a3").style.color = "#FF1D00";
		document.getElementById("a4").style.color = "#FF1D00";
		document.getElementById("a5").style.color = "#FF1D00";
		document.getElementById("a6").style.color = "#FF1D00";
		document.getElementById("a7").style.color = "#FF1D00";
		document.getElementById("a8").style.color = "#FF1D00";
		document.getElementById("a9").style.color = "#FF1D00";
		document.getElementById("a10").style.color = "#FF1D00";
		document.getElementById("a11").style.color = "#FF1D00";
		document.getElementById("a12").style.color = "#FF1D00";
		document.getElementById("a13").style.color = "#FF1D00";
		document.getElementById("a14").style.color = "#FF1D00";
		document.getElementById("a15").style.color = "#FF1D00";
		document.getElementById("a16").style.color = "#FF1D00";
		document.getElementById("a17").style.color = "#FF1D00";
		document.getElementById("a18").style.color = "#FF1D00";
		document.getElementById("a19").style.color = "#FF1D00";
		document.getElementById("a20").style.color = "#FF1D00";
	}
	if (tipo == "2") {
	  	document.getElementById("testo").innerHTML = tipo_02;
		document.getElementById("c1").style.backgroundColor = "#FFFFFF";
		document.getElementById("c2").style.backgroundColor = "#FF1D00";
		document.getElementById("c3").style.backgroundColor = "#FFFFFF";
		document.getElementById("c4").style.backgroundColor = "#FFFFFF";
		document.getElementById("c5").style.backgroundColor = "#FFFFFF";
		document.getElementById("c6").style.backgroundColor = "#FFFFFF";
		document.getElementById("c7").style.backgroundColor = "#FFFFFF";
		document.getElementById("c8").style.backgroundColor = "#FFFFFF";
		document.getElementById("c9").style.backgroundColor = "#FFFFFF";
		document.getElementById("c10").style.backgroundColor = "#FFFFFF";
		document.getElementById("c11").style.backgroundColor = "#FFFFFF";
		document.getElementById("c12").style.backgroundColor = "#FFFFFF";
		document.getElementById("c13").style.backgroundColor = "#FFFFFF";
		document.getElementById("c14").style.backgroundColor = "#FFFFFF";
		document.getElementById("c15").style.backgroundColor = "#FFFFFF";
		document.getElementById("c16").style.backgroundColor = "#FFFFFF";
		document.getElementById("c17").style.backgroundColor = "#FFFFFF";
		document.getElementById("c18").style.backgroundColor = "#FFFFFF";
		document.getElementById("c19").style.backgroundColor = "#FFFFFF";
		document.getElementById("c20").style.backgroundColor = "#FFFFFF";
		document.getElementById("a1").style.color = "#FF1D00";
		document.getElementById("a2").style.color = "#FFFFFF";
		document.getElementById("a3").style.color = "#FF1D00";
		document.getElementById("a4").style.color = "#FF1D00";
		document.getElementById("a5").style.color = "#FF1D00";
		document.getElementById("a6").style.color = "#FF1D00";
		document.getElementById("a7").style.color = "#FF1D00";
		document.getElementById("a8").style.color = "#FF1D00";
		document.getElementById("a9").style.color = "#FF1D00";
		document.getElementById("a10").style.color = "#FF1D00";
		document.getElementById("a11").style.color = "#FF1D00";
		document.getElementById("a12").style.color = "#FF1D00";
		document.getElementById("a13").style.color = "#FF1D00";
		document.getElementById("a14").style.color = "#FF1D00";
		document.getElementById("a15").style.color = "#FF1D00";
		document.getElementById("a16").style.color = "#FF1D00";
		document.getElementById("a17").style.color = "#FF1D00";
		document.getElementById("a18").style.color = "#FF1D00";
		document.getElementById("a19").style.color = "#FF1D00";
		document.getElementById("a20").style.color = "#FF1D00";
	}
	if (tipo == "3") {
	  	document.getElementById("testo").innerHTML = tipo_03;
		document.getElementById("c1").style.backgroundColor = "#FFFFFF";
		document.getElementById("c2").style.backgroundColor = "#FFFFFF";
		document.getElementById("c3").style.backgroundColor = "#FF1D00";
		document.getElementById("c4").style.backgroundColor = "#FFFFFF";
		document.getElementById("c5").style.backgroundColor = "#FFFFFF";
		document.getElementById("c6").style.backgroundColor = "#FFFFFF";
		document.getElementById("c7").style.backgroundColor = "#FFFFFF";
		document.getElementById("c8").style.backgroundColor = "#FFFFFF";
		document.getElementById("c9").style.backgroundColor = "#FFFFFF";
		document.getElementById("c10").style.backgroundColor = "#FFFFFF";
		document.getElementById("c11").style.backgroundColor = "#FFFFFF";
		document.getElementById("c12").style.backgroundColor = "#FFFFFF";
		document.getElementById("c13").style.backgroundColor = "#FFFFFF";
		document.getElementById("c14").style.backgroundColor = "#FFFFFF";
		document.getElementById("c15").style.backgroundColor = "#FFFFFF";
		document.getElementById("c16").style.backgroundColor = "#FFFFFF";
		document.getElementById("c17").style.backgroundColor = "#FFFFFF";
		document.getElementById("c18").style.backgroundColor = "#FFFFFF";
		document.getElementById("c19").style.backgroundColor = "#FFFFFF";
		document.getElementById("c20").style.backgroundColor = "#FFFFFF";
		document.getElementById("a1").style.color = "#FF1D00";
		document.getElementById("a2").style.color = "#FF1D00";
		document.getElementById("a3").style.color = "#FFFFFF";
		document.getElementById("a4").style.color = "#FF1D00";
		document.getElementById("a5").style.color = "#FF1D00";
		document.getElementById("a6").style.color = "#FF1D00";
		document.getElementById("a7").style.color = "#FF1D00";
		document.getElementById("a8").style.color = "#FF1D00";
		document.getElementById("a9").style.color = "#FF1D00";
		document.getElementById("a10").style.color = "#FF1D00";
		document.getElementById("a11").style.color = "#FF1D00";
		document.getElementById("a12").style.color = "#FF1D00";
		document.getElementById("a13").style.color = "#FF1D00";
		document.getElementById("a14").style.color = "#FF1D00";
		document.getElementById("a15").style.color = "#FF1D00";
		document.getElementById("a16").style.color = "#FF1D00";
		document.getElementById("a17").style.color = "#FF1D00";
		document.getElementById("a18").style.color = "#FF1D00";
		document.getElementById("a19").style.color = "#FF1D00";
		document.getElementById("a20").style.color = "#FF1D00";
	}
	if (tipo == "4") {
	  	document.getElementById("testo").innerHTML = tipo_04;
		document.getElementById("c1").style.backgroundColor = "#FFFFFF";
		document.getElementById("c2").style.backgroundColor = "#FFFFFF";
		document.getElementById("c3").style.backgroundColor = "#FFFFFF";
		document.getElementById("c4").style.backgroundColor = "#FF1D00";
		document.getElementById("c5").style.backgroundColor = "#FFFFFF";
		document.getElementById("c6").style.backgroundColor = "#FFFFFF";
		document.getElementById("c7").style.backgroundColor = "#FFFFFF";
		document.getElementById("c8").style.backgroundColor = "#FFFFFF";
		document.getElementById("c9").style.backgroundColor = "#FFFFFF";
		document.getElementById("c10").style.backgroundColor = "#FFFFFF";
		document.getElementById("c11").style.backgroundColor = "#FFFFFF";
		document.getElementById("c12").style.backgroundColor = "#FFFFFF";
		document.getElementById("c13").style.backgroundColor = "#FFFFFF";
		document.getElementById("c14").style.backgroundColor = "#FFFFFF";
		document.getElementById("c15").style.backgroundColor = "#FFFFFF";
		document.getElementById("c16").style.backgroundColor = "#FFFFFF";
		document.getElementById("c17").style.backgroundColor = "#FFFFFF";
		document.getElementById("c18").style.backgroundColor = "#FFFFFF";
		document.getElementById("c19").style.backgroundColor = "#FFFFFF";
		document.getElementById("c20").style.backgroundColor = "#FFFFFF";
		document.getElementById("a1").style.color = "#FF1D00";
		document.getElementById("a2").style.color = "#FF1D00";
		document.getElementById("a3").style.color = "#FF1D00";
		document.getElementById("a4").style.color = "#FFFFFF";
		document.getElementById("a5").style.color = "#FF1D00";
		document.getElementById("a6").style.color = "#FF1D00";
		document.getElementById("a7").style.color = "#FF1D00";
		document.getElementById("a8").style.color = "#FF1D00";
		document.getElementById("a9").style.color = "#FF1D00";
		document.getElementById("a10").style.color = "#FF1D00";
		document.getElementById("a11").style.color = "#FF1D00";
		document.getElementById("a12").style.color = "#FF1D00";
		document.getElementById("a13").style.color = "#FF1D00";
		document.getElementById("a14").style.color = "#FF1D00";
		document.getElementById("a15").style.color = "#FF1D00";
		document.getElementById("a16").style.color = "#FF1D00";
		document.getElementById("a17").style.color = "#FF1D00";
		document.getElementById("a18").style.color = "#FF1D00";
		document.getElementById("a19").style.color = "#FF1D00";
		document.getElementById("a20").style.color = "#FF1D00";
	}
	if (tipo == "5") {
	  	document.getElementById("testo").innerHTML = tipo_05;
		document.getElementById("c1").style.backgroundColor = "#FFFFFF";
		document.getElementById("c2").style.backgroundColor = "#FFFFFF";
		document.getElementById("c3").style.backgroundColor = "#FFFFFF";
		document.getElementById("c4").style.backgroundColor = "#FFFFFF";
		document.getElementById("c5").style.backgroundColor = "#FF1D00";
		document.getElementById("c6").style.backgroundColor = "#FFFFFF";
		document.getElementById("c7").style.backgroundColor = "#FFFFFF";
		document.getElementById("c8").style.backgroundColor = "#FFFFFF";
		document.getElementById("c9").style.backgroundColor = "#FFFFFF";
		document.getElementById("c10").style.backgroundColor = "#FFFFFF";
		document.getElementById("c11").style.backgroundColor = "#FFFFFF";
		document.getElementById("c12").style.backgroundColor = "#FFFFFF";
		document.getElementById("c13").style.backgroundColor = "#FFFFFF";
		document.getElementById("c14").style.backgroundColor = "#FFFFFF";
		document.getElementById("c15").style.backgroundColor = "#FFFFFF";
		document.getElementById("c16").style.backgroundColor = "#FFFFFF";
		document.getElementById("c17").style.backgroundColor = "#FFFFFF";
		document.getElementById("c18").style.backgroundColor = "#FFFFFF";
		document.getElementById("c19").style.backgroundColor = "#FFFFFF";
		document.getElementById("c20").style.backgroundColor = "#FFFFFF";
		document.getElementById("a1").style.color = "#FF1D00";
		document.getElementById("a2").style.color = "#FF1D00";
		document.getElementById("a3").style.color = "#FF1D00";
		document.getElementById("a4").style.color = "#FF1D00";
		document.getElementById("a5").style.color = "#FFFFFF";
		document.getElementById("a6").style.color = "#FF1D00";
		document.getElementById("a7").style.color = "#FF1D00";
		document.getElementById("a8").style.color = "#FF1D00";
		document.getElementById("a9").style.color = "#FF1D00";
		document.getElementById("a10").style.color = "#FF1D00";
		document.getElementById("a11").style.color = "#FF1D00";
		document.getElementById("a12").style.color = "#FF1D00";
		document.getElementById("a13").style.color = "#FF1D00";
		document.getElementById("a14").style.color = "#FF1D00";
		document.getElementById("a15").style.color = "#FF1D00";
		document.getElementById("a16").style.color = "#FF1D00";
		document.getElementById("a17").style.color = "#FF1D00";
		document.getElementById("a18").style.color = "#FF1D00";
		document.getElementById("a19").style.color = "#FF1D00";
		document.getElementById("a20").style.color = "#FF1D00";
	}
	if (tipo == "6") {
	  	document.getElementById("testo").innerHTML = tipo_06;
		document.getElementById("c1").style.backgroundColor = "#FFFFFF";
		document.getElementById("c2").style.backgroundColor = "#FFFFFF";
		document.getElementById("c3").style.backgroundColor = "#FFFFFF";
		document.getElementById("c4").style.backgroundColor = "#FFFFFF";
		document.getElementById("c5").style.backgroundColor = "#FFFFFF";
		document.getElementById("c6").style.backgroundColor = "#FF1D00";
		document.getElementById("c7").style.backgroundColor = "#FFFFFF";
		document.getElementById("c8").style.backgroundColor = "#FFFFFF";
		document.getElementById("c9").style.backgroundColor = "#FFFFFF";
		document.getElementById("c10").style.backgroundColor = "#FFFFFF";
		document.getElementById("c11").style.backgroundColor = "#FFFFFF";
		document.getElementById("c12").style.backgroundColor = "#FFFFFF";
		document.getElementById("c13").style.backgroundColor = "#FFFFFF";
		document.getElementById("c14").style.backgroundColor = "#FFFFFF";
		document.getElementById("c15").style.backgroundColor = "#FFFFFF";
		document.getElementById("c16").style.backgroundColor = "#FFFFFF";
		document.getElementById("c17").style.backgroundColor = "#FFFFFF";
		document.getElementById("c18").style.backgroundColor = "#FFFFFF";
		document.getElementById("c19").style.backgroundColor = "#FFFFFF";
		document.getElementById("c20").style.backgroundColor = "#FFFFFF";
		document.getElementById("a1").style.color = "#FF1D00";
		document.getElementById("a2").style.color = "#FF1D00";
		document.getElementById("a3").style.color = "#FF1D00";
		document.getElementById("a4").style.color = "#FF1D00";
		document.getElementById("a5").style.color = "#FF1D00";
		document.getElementById("a6").style.color = "#FFFFFF";
		document.getElementById("a7").style.color = "#FF1D00";
		document.getElementById("a8").style.color = "#FF1D00";
		document.getElementById("a9").style.color = "#FF1D00";
		document.getElementById("a10").style.color = "#FF1D00";
		document.getElementById("a11").style.color = "#FF1D00";
		document.getElementById("a12").style.color = "#FF1D00";
		document.getElementById("a13").style.color = "#FF1D00";
		document.getElementById("a14").style.color = "#FF1D00";
		document.getElementById("a15").style.color = "#FF1D00";
		document.getElementById("a16").style.color = "#FF1D00";
		document.getElementById("a17").style.color = "#FF1D00";
		document.getElementById("a18").style.color = "#FF1D00";
		document.getElementById("a19").style.color = "#FF1D00";
		document.getElementById("a20").style.color = "#FF1D00";
	}
	if (tipo == "7") {
	  	document.getElementById("testo").innerHTML = tipo_07;
		document.getElementById("c1").style.backgroundColor = "#FFFFFF";
		document.getElementById("c2").style.backgroundColor = "#FFFFFF";
		document.getElementById("c3").style.backgroundColor = "#FFFFFF";
		document.getElementById("c4").style.backgroundColor = "#FFFFFF";
		document.getElementById("c5").style.backgroundColor = "#FFFFFF";
		document.getElementById("c6").style.backgroundColor = "#FFFFFF";
		document.getElementById("c7").style.backgroundColor = "#FF1D00";
		document.getElementById("c8").style.backgroundColor = "#FFFFFF";
		document.getElementById("c9").style.backgroundColor = "#FFFFFF";
		document.getElementById("c10").style.backgroundColor = "#FFFFFF";
		document.getElementById("c11").style.backgroundColor = "#FFFFFF";
		document.getElementById("c12").style.backgroundColor = "#FFFFFF";
		document.getElementById("c13").style.backgroundColor = "#FFFFFF";
		document.getElementById("c14").style.backgroundColor = "#FFFFFF";
		document.getElementById("c15").style.backgroundColor = "#FFFFFF";
		document.getElementById("c16").style.backgroundColor = "#FFFFFF";
		document.getElementById("c17").style.backgroundColor = "#FFFFFF";
		document.getElementById("c18").style.backgroundColor = "#FFFFFF";
		document.getElementById("c19").style.backgroundColor = "#FFFFFF";
		document.getElementById("c20").style.backgroundColor = "#FFFFFF";
		document.getElementById("a1").style.color = "#FF1D00";
		document.getElementById("a2").style.color = "#FF1D00";
		document.getElementById("a3").style.color = "#FF1D00";
		document.getElementById("a4").style.color = "#FF1D00";
		document.getElementById("a5").style.color = "#FF1D00";
		document.getElementById("a6").style.color = "#FF1D00";
		document.getElementById("a7").style.color = "#FFFFFF";
		document.getElementById("a8").style.color = "#FF1D00";
		document.getElementById("a9").style.color = "#FF1D00";
		document.getElementById("a10").style.color = "#FF1D00";
		document.getElementById("a11").style.color = "#FF1D00";
		document.getElementById("a12").style.color = "#FF1D00";
		document.getElementById("a13").style.color = "#FF1D00";
		document.getElementById("a14").style.color = "#FF1D00";
		document.getElementById("a15").style.color = "#FF1D00";
		document.getElementById("a16").style.color = "#FF1D00";
		document.getElementById("a17").style.color = "#FF1D00";
		document.getElementById("a18").style.color = "#FF1D00";
		document.getElementById("a19").style.color = "#FF1D00";
		document.getElementById("a20").style.color = "#FF1D00";
	}
	if (tipo == "8") {
	  	document.getElementById("testo").innerHTML = tipo_08;
		document.getElementById("c1").style.backgroundColor = "#FFFFFF";
		document.getElementById("c2").style.backgroundColor = "#FFFFFF";
		document.getElementById("c3").style.backgroundColor = "#FFFFFF";
		document.getElementById("c4").style.backgroundColor = "#FFFFFF";
		document.getElementById("c5").style.backgroundColor = "#FFFFFF";
		document.getElementById("c6").style.backgroundColor = "#FFFFFF";
		document.getElementById("c7").style.backgroundColor = "#FFFFFF";
		document.getElementById("c8").style.backgroundColor = "#FF1D00";
		document.getElementById("c9").style.backgroundColor = "#FFFFFF";
		document.getElementById("c10").style.backgroundColor = "#FFFFFF";
		document.getElementById("c11").style.backgroundColor = "#FFFFFF";
		document.getElementById("c12").style.backgroundColor = "#FFFFFF";
		document.getElementById("c13").style.backgroundColor = "#FFFFFF";
		document.getElementById("c14").style.backgroundColor = "#FFFFFF";
		document.getElementById("c15").style.backgroundColor = "#FFFFFF";
		document.getElementById("c16").style.backgroundColor = "#FFFFFF";
		document.getElementById("c17").style.backgroundColor = "#FFFFFF";
		document.getElementById("c18").style.backgroundColor = "#FFFFFF";
		document.getElementById("c19").style.backgroundColor = "#FFFFFF";
		document.getElementById("c20").style.backgroundColor = "#FFFFFF";
		document.getElementById("a1").style.color = "#FF1D00";
		document.getElementById("a2").style.color = "#FF1D00";
		document.getElementById("a3").style.color = "#FF1D00";
		document.getElementById("a4").style.color = "#FF1D00";
		document.getElementById("a5").style.color = "#FF1D00";
		document.getElementById("a6").style.color = "#FF1D00";
		document.getElementById("a7").style.color = "#FF1D00";
		document.getElementById("a8").style.color = "#FFFFFF";
		document.getElementById("a9").style.color = "#FF1D00";
		document.getElementById("a10").style.color = "#FF1D00";
		document.getElementById("a11").style.color = "#FF1D00";
		document.getElementById("a12").style.color = "#FF1D00";
		document.getElementById("a13").style.color = "#FF1D00";
		document.getElementById("a14").style.color = "#FF1D00";
		document.getElementById("a15").style.color = "#FF1D00";
		document.getElementById("a16").style.color = "#FF1D00";
		document.getElementById("a17").style.color = "#FF1D00";
		document.getElementById("a18").style.color = "#FF1D00";
		document.getElementById("a19").style.color = "#FF1D00";
		document.getElementById("a20").style.color = "#FF1D00";
	}
	if (tipo == "9") {
	  	document.getElementById("testo").innerHTML = tipo_09;
		document.getElementById("c1").style.backgroundColor = "#FFFFFF";
		document.getElementById("c2").style.backgroundColor = "#FFFFFF";
		document.getElementById("c3").style.backgroundColor = "#FFFFFF";
		document.getElementById("c4").style.backgroundColor = "#FFFFFF";
		document.getElementById("c5").style.backgroundColor = "#FFFFFF";
		document.getElementById("c6").style.backgroundColor = "#FFFFFF";
		document.getElementById("c7").style.backgroundColor = "#FFFFFF";
		document.getElementById("c8").style.backgroundColor = "#FFFFFF";
		document.getElementById("c9").style.backgroundColor = "#FF1D00";
		document.getElementById("c10").style.backgroundColor = "#FFFFFF";
		document.getElementById("c11").style.backgroundColor = "#FFFFFF";
		document.getElementById("c12").style.backgroundColor = "#FFFFFF";
		document.getElementById("c13").style.backgroundColor = "#FFFFFF";
		document.getElementById("c14").style.backgroundColor = "#FFFFFF";
		document.getElementById("c15").style.backgroundColor = "#FFFFFF";
		document.getElementById("c16").style.backgroundColor = "#FFFFFF";
		document.getElementById("c17").style.backgroundColor = "#FFFFFF";
		document.getElementById("c18").style.backgroundColor = "#FFFFFF";
		document.getElementById("c19").style.backgroundColor = "#FFFFFF";
		document.getElementById("c20").style.backgroundColor = "#FFFFFF";
		document.getElementById("a1").style.color = "#FF1D00";
		document.getElementById("a2").style.color = "#FF1D00";
		document.getElementById("a3").style.color = "#FF1D00";
		document.getElementById("a4").style.color = "#FF1D00";
		document.getElementById("a5").style.color = "#FF1D00";
		document.getElementById("a6").style.color = "#FF1D00";
		document.getElementById("a7").style.color = "#FF1D00";
		document.getElementById("a8").style.color = "#FF1D00";
		document.getElementById("a9").style.color = "#FFFFFF";
		document.getElementById("a10").style.color = "#FF1D00";
		document.getElementById("a11").style.color = "#FF1D00";
		document.getElementById("a12").style.color = "#FF1D00";
		document.getElementById("a13").style.color = "#FF1D00";
		document.getElementById("a14").style.color = "#FF1D00";
		document.getElementById("a15").style.color = "#FF1D00";
		document.getElementById("a16").style.color = "#FF1D00";
		document.getElementById("a17").style.color = "#FF1D00";
		document.getElementById("a18").style.color = "#FF1D00";
		document.getElementById("a19").style.color = "#FF1D00";
		document.getElementById("a20").style.color = "#FF1D00";
	}
	if (tipo == "10") {
	  	document.getElementById("testo").innerHTML = tipo_10;
		document.getElementById("c1").style.backgroundColor = "#FFFFFF";
		document.getElementById("c2").style.backgroundColor = "#FFFFFF";
		document.getElementById("c3").style.backgroundColor = "#FFFFFF";
		document.getElementById("c4").style.backgroundColor = "#FFFFFF";
		document.getElementById("c5").style.backgroundColor = "#FFFFFF";
		document.getElementById("c6").style.backgroundColor = "#FFFFFF";
		document.getElementById("c7").style.backgroundColor = "#FFFFFF";
		document.getElementById("c8").style.backgroundColor = "#FFFFFF";
		document.getElementById("c9").style.backgroundColor = "#FFFFFF";
		document.getElementById("c10").style.backgroundColor = "#FF1D00";
		document.getElementById("c11").style.backgroundColor = "#FFFFFF";
		document.getElementById("c12").style.backgroundColor = "#FFFFFF";
		document.getElementById("c13").style.backgroundColor = "#FFFFFF";
		document.getElementById("c14").style.backgroundColor = "#FFFFFF";
		document.getElementById("c15").style.backgroundColor = "#FFFFFF";
		document.getElementById("c16").style.backgroundColor = "#FFFFFF";
		document.getElementById("c17").style.backgroundColor = "#FFFFFF";
		document.getElementById("c18").style.backgroundColor = "#FFFFFF";
		document.getElementById("c19").style.backgroundColor = "#FFFFFF";
		document.getElementById("c20").style.backgroundColor = "#FFFFFF";
		document.getElementById("a1").style.color = "#FF1D00";
		document.getElementById("a2").style.color = "#FF1D00";
		document.getElementById("a3").style.color = "#FF1D00";
		document.getElementById("a4").style.color = "#FF1D00";
		document.getElementById("a5").style.color = "#FF1D00";
		document.getElementById("a6").style.color = "#FF1D00";
		document.getElementById("a7").style.color = "#FF1D00";
		document.getElementById("a8").style.color = "#FF1D00";
		document.getElementById("a9").style.color = "#FF1D00";
		document.getElementById("a10").style.color = "#FFFFFF";
		document.getElementById("a11").style.color = "#FF1D00";
		document.getElementById("a12").style.color = "#FF1D00";
		document.getElementById("a13").style.color = "#FF1D00";
		document.getElementById("a14").style.color = "#FF1D00";
		document.getElementById("a15").style.color = "#FF1D00";
		document.getElementById("a16").style.color = "#FF1D00";
		document.getElementById("a17").style.color = "#FF1D00";
		document.getElementById("a18").style.color = "#FF1D00";
		document.getElementById("a19").style.color = "#FF1D00";
		document.getElementById("a20").style.color = "#FF1D00";
	}
	if (tipo == "11") {
	  	document.getElementById("testo").innerHTML = tipo_11;
		document.getElementById("c1").style.backgroundColor = "#FFFFFF";
		document.getElementById("c2").style.backgroundColor = "#FFFFFF";
		document.getElementById("c3").style.backgroundColor = "#FFFFFF";
		document.getElementById("c4").style.backgroundColor = "#FFFFFF";
		document.getElementById("c5").style.backgroundColor = "#FFFFFF";
		document.getElementById("c6").style.backgroundColor = "#FFFFFF";
		document.getElementById("c7").style.backgroundColor = "#FFFFFF";
		document.getElementById("c8").style.backgroundColor = "#FFFFFF";
		document.getElementById("c9").style.backgroundColor = "#FFFFFF";
		document.getElementById("c10").style.backgroundColor = "#FFFFFF";
		document.getElementById("c11").style.backgroundColor = "#FF1D00";
		document.getElementById("c12").style.backgroundColor = "#FFFFFF";
		document.getElementById("c13").style.backgroundColor = "#FFFFFF";
		document.getElementById("c14").style.backgroundColor = "#FFFFFF";
		document.getElementById("c15").style.backgroundColor = "#FFFFFF";
		document.getElementById("c16").style.backgroundColor = "#FFFFFF";
		document.getElementById("c17").style.backgroundColor = "#FFFFFF";
		document.getElementById("c18").style.backgroundColor = "#FFFFFF";
		document.getElementById("c19").style.backgroundColor = "#FFFFFF";
		document.getElementById("c20").style.backgroundColor = "#FFFFFF";
		document.getElementById("a1").style.color = "#FF1D00";
		document.getElementById("a2").style.color = "#FF1D00";
		document.getElementById("a3").style.color = "#FF1D00";
		document.getElementById("a4").style.color = "#FF1D00";
		document.getElementById("a5").style.color = "#FF1D00";
		document.getElementById("a6").style.color = "#FF1D00";
		document.getElementById("a7").style.color = "#FF1D00";
		document.getElementById("a8").style.color = "#FF1D00";
		document.getElementById("a9").style.color = "#FF1D00";
		document.getElementById("a10").style.color = "#FF1D00";
		document.getElementById("a11").style.color = "#FFFFFF";
		document.getElementById("a12").style.color = "#FF1D00";
		document.getElementById("a13").style.color = "#FF1D00";
		document.getElementById("a14").style.color = "#FF1D00";
		document.getElementById("a15").style.color = "#FF1D00";
		document.getElementById("a16").style.color = "#FF1D00";
		document.getElementById("a17").style.color = "#FF1D00";
		document.getElementById("a18").style.color = "#FF1D00";
		document.getElementById("a19").style.color = "#FF1D00";
		document.getElementById("a20").style.color = "#FF1D00";
	}
	if (tipo == "12") {
	  	document.getElementById("testo").innerHTML = tipo_12;
		document.getElementById("c1").style.backgroundColor = "#FFFFFF";
		document.getElementById("c2").style.backgroundColor = "#FFFFFF";
		document.getElementById("c3").style.backgroundColor = "#FFFFFF";
		document.getElementById("c4").style.backgroundColor = "#FFFFFF";
		document.getElementById("c5").style.backgroundColor = "#FFFFFF";
		document.getElementById("c6").style.backgroundColor = "#FFFFFF";
		document.getElementById("c7").style.backgroundColor = "#FFFFFF";
		document.getElementById("c8").style.backgroundColor = "#FFFFFF";
		document.getElementById("c9").style.backgroundColor = "#FFFFFF";
		document.getElementById("c10").style.backgroundColor = "#FFFFFF";
		document.getElementById("c11").style.backgroundColor = "#FFFFFF";
		document.getElementById("c12").style.backgroundColor = "#FF1D00";
		document.getElementById("c13").style.backgroundColor = "#FFFFFF";
		document.getElementById("c14").style.backgroundColor = "#FFFFFF";
		document.getElementById("c15").style.backgroundColor = "#FFFFFF";
		document.getElementById("c16").style.backgroundColor = "#FFFFFF";
		document.getElementById("c17").style.backgroundColor = "#FFFFFF";
		document.getElementById("c18").style.backgroundColor = "#FFFFFF";
		document.getElementById("c19").style.backgroundColor = "#FFFFFF";
		document.getElementById("c20").style.backgroundColor = "#FFFFFF";
		document.getElementById("a1").style.color = "#FF1D00";
		document.getElementById("a2").style.color = "#FF1D00";
		document.getElementById("a3").style.color = "#FF1D00";
		document.getElementById("a4").style.color = "#FF1D00";
		document.getElementById("a5").style.color = "#FF1D00";
		document.getElementById("a6").style.color = "#FF1D00";
		document.getElementById("a7").style.color = "#FF1D00";
		document.getElementById("a8").style.color = "#FF1D00";
		document.getElementById("a9").style.color = "#FF1D00";
		document.getElementById("a10").style.color = "#FF1D00";
		document.getElementById("a11").style.color = "#FF1D00";
		document.getElementById("a12").style.color = "#FFFFFF";
		document.getElementById("a13").style.color = "#FF1D00";
		document.getElementById("a14").style.color = "#FF1D00";
		document.getElementById("a15").style.color = "#FF1D00";
		document.getElementById("a16").style.color = "#FF1D00";
		document.getElementById("a17").style.color = "#FF1D00";
		document.getElementById("a18").style.color = "#FF1D00";
		document.getElementById("a19").style.color = "#FF1D00";
		document.getElementById("a20").style.color = "#FF1D00";
	}
	if (tipo == "13") {
	  	document.getElementById("testo").innerHTML = tipo_13;
		document.getElementById("c1").style.backgroundColor = "#FFFFFF";
		document.getElementById("c2").style.backgroundColor = "#FFFFFF";
		document.getElementById("c3").style.backgroundColor = "#FFFFFF";
		document.getElementById("c4").style.backgroundColor = "#FFFFFF";
		document.getElementById("c5").style.backgroundColor = "#FFFFFF";
		document.getElementById("c6").style.backgroundColor = "#FFFFFF";
		document.getElementById("c7").style.backgroundColor = "#FFFFFF";
		document.getElementById("c8").style.backgroundColor = "#FFFFFF";
		document.getElementById("c9").style.backgroundColor = "#FFFFFF";
		document.getElementById("c10").style.backgroundColor = "#FFFFFF";
		document.getElementById("c11").style.backgroundColor = "#FFFFFF";
		document.getElementById("c12").style.backgroundColor = "#FFFFFF";
		document.getElementById("c13").style.backgroundColor = "#FF1D00";
		document.getElementById("c14").style.backgroundColor = "#FFFFFF";
		document.getElementById("c15").style.backgroundColor = "#FFFFFF";
		document.getElementById("c16").style.backgroundColor = "#FFFFFF";
		document.getElementById("c17").style.backgroundColor = "#FFFFFF";
		document.getElementById("c18").style.backgroundColor = "#FFFFFF";
		document.getElementById("c19").style.backgroundColor = "#FFFFFF";
		document.getElementById("c20").style.backgroundColor = "#FFFFFF";
		document.getElementById("a1").style.color = "#FF1D00";
		document.getElementById("a2").style.color = "#FF1D00";
		document.getElementById("a3").style.color = "#FF1D00";
		document.getElementById("a4").style.color = "#FF1D00";
		document.getElementById("a5").style.color = "#FF1D00";
		document.getElementById("a6").style.color = "#FF1D00";
		document.getElementById("a7").style.color = "#FF1D00";
		document.getElementById("a8").style.color = "#FF1D00";
		document.getElementById("a9").style.color = "#FF1D00";
		document.getElementById("a10").style.color = "#FF1D00";
		document.getElementById("a11").style.color = "#FF1D00";
		document.getElementById("a12").style.color = "#FF1D00";
		document.getElementById("a13").style.color = "#FFFFFF";
		document.getElementById("a14").style.color = "#FF1D00";
		document.getElementById("a15").style.color = "#FF1D00";
		document.getElementById("a16").style.color = "#FF1D00";
		document.getElementById("a17").style.color = "#FF1D00";
		document.getElementById("a18").style.color = "#FF1D00";
		document.getElementById("a19").style.color = "#FF1D00";
		document.getElementById("a20").style.color = "#FF1D00";
	}
	if (tipo == "14") {
	  	document.getElementById("testo").innerHTML = tipo_14;
		document.getElementById("c1").style.backgroundColor = "#FFFFFF";
		document.getElementById("c2").style.backgroundColor = "#FFFFFF";
		document.getElementById("c3").style.backgroundColor = "#FFFFFF";
		document.getElementById("c4").style.backgroundColor = "#FFFFFF";
		document.getElementById("c5").style.backgroundColor = "#FFFFFF";
		document.getElementById("c6").style.backgroundColor = "#FFFFFF";
		document.getElementById("c7").style.backgroundColor = "#FFFFFF";
		document.getElementById("c8").style.backgroundColor = "#FFFFFF";
		document.getElementById("c9").style.backgroundColor = "#FFFFFF";
		document.getElementById("c10").style.backgroundColor = "#FFFFFF";
		document.getElementById("c11").style.backgroundColor = "#FFFFFF";
		document.getElementById("c12").style.backgroundColor = "#FFFFFF";
		document.getElementById("c13").style.backgroundColor = "#FFFFFF";
		document.getElementById("c14").style.backgroundColor = "#FF1D00";
		document.getElementById("c15").style.backgroundColor = "#FFFFFF";
		document.getElementById("c16").style.backgroundColor = "#FFFFFF";
		document.getElementById("c17").style.backgroundColor = "#FFFFFF";
		document.getElementById("c18").style.backgroundColor = "#FFFFFF";
		document.getElementById("c19").style.backgroundColor = "#FFFFFF";
		document.getElementById("c20").style.backgroundColor = "#FFFFFF";
		document.getElementById("a1").style.color = "#FF1D00";
		document.getElementById("a2").style.color = "#FF1D00";
		document.getElementById("a3").style.color = "#FF1D00";
		document.getElementById("a4").style.color = "#FF1D00";
		document.getElementById("a5").style.color = "#FF1D00";
		document.getElementById("a6").style.color = "#FF1D00";
		document.getElementById("a7").style.color = "#FF1D00";
		document.getElementById("a8").style.color = "#FF1D00";
		document.getElementById("a9").style.color = "#FF1D00";
		document.getElementById("a10").style.color = "#FF1D00";
		document.getElementById("a11").style.color = "#FF1D00";
		document.getElementById("a12").style.color = "#FF1D00";
		document.getElementById("a13").style.color = "#FF1D00";
		document.getElementById("a14").style.color = "#FFFFFF";
		document.getElementById("a15").style.color = "#FF1D00";
		document.getElementById("a16").style.color = "#FF1D00";
		document.getElementById("a17").style.color = "#FF1D00";
		document.getElementById("a18").style.color = "#FF1D00";
		document.getElementById("a19").style.color = "#FF1D00";
		document.getElementById("a20").style.color = "#FF1D00";
	}
	if (tipo == "15") {
	  	document.getElementById("testo").innerHTML = tipo_15;
		document.getElementById("c1").style.backgroundColor = "#FFFFFF";
		document.getElementById("c2").style.backgroundColor = "#FFFFFF";
		document.getElementById("c3").style.backgroundColor = "#FFFFFF";
		document.getElementById("c4").style.backgroundColor = "#FFFFFF";
		document.getElementById("c5").style.backgroundColor = "#FFFFFF";
		document.getElementById("c6").style.backgroundColor = "#FFFFFF";
		document.getElementById("c7").style.backgroundColor = "#FFFFFF";
		document.getElementById("c8").style.backgroundColor = "#FFFFFF";
		document.getElementById("c9").style.backgroundColor = "#FFFFFF";
		document.getElementById("c10").style.backgroundColor = "#FFFFFF";
		document.getElementById("c11").style.backgroundColor = "#FFFFFF";
		document.getElementById("c12").style.backgroundColor = "#FFFFFF";
		document.getElementById("c13").style.backgroundColor = "#FFFFFF";
		document.getElementById("c14").style.backgroundColor = "#FFFFFF";
		document.getElementById("c15").style.backgroundColor = "#FF1D00";
		document.getElementById("c16").style.backgroundColor = "#FFFFFF";
		document.getElementById("c17").style.backgroundColor = "#FFFFFF";
		document.getElementById("c18").style.backgroundColor = "#FFFFFF";
		document.getElementById("c19").style.backgroundColor = "#FFFFFF";
		document.getElementById("c20").style.backgroundColor = "#FFFFFF";
		document.getElementById("a1").style.color = "#FF1D00";
		document.getElementById("a2").style.color = "#FF1D00";
		document.getElementById("a3").style.color = "#FF1D00";
		document.getElementById("a4").style.color = "#FF1D00";
		document.getElementById("a5").style.color = "#FF1D00";
		document.getElementById("a6").style.color = "#FF1D00";
		document.getElementById("a7").style.color = "#FF1D00";
		document.getElementById("a8").style.color = "#FF1D00";
		document.getElementById("a9").style.color = "#FF1D00";
		document.getElementById("a10").style.color = "#FF1D00";
		document.getElementById("a11").style.color = "#FF1D00";
		document.getElementById("a12").style.color = "#FF1D00";
		document.getElementById("a13").style.color = "#FF1D00";
		document.getElementById("a14").style.color = "#FF1D00";
		document.getElementById("a15").style.color = "#FFFFFF";
		document.getElementById("a16").style.color = "#FF1D00";
		document.getElementById("a17").style.color = "#FF1D00";
		document.getElementById("a18").style.color = "#FF1D00";
		document.getElementById("a19").style.color = "#FF1D00";
		document.getElementById("a20").style.color = "#FF1D00";
	}
	if (tipo == "16") {
	  	document.getElementById("testo").innerHTML = tipo_16;
		document.getElementById("c1").style.backgroundColor = "#FFFFFF";
		document.getElementById("c2").style.backgroundColor = "#FFFFFF";
		document.getElementById("c3").style.backgroundColor = "#FFFFFF";
		document.getElementById("c4").style.backgroundColor = "#FFFFFF";
		document.getElementById("c5").style.backgroundColor = "#FFFFFF";
		document.getElementById("c6").style.backgroundColor = "#FFFFFF";
		document.getElementById("c7").style.backgroundColor = "#FFFFFF";
		document.getElementById("c8").style.backgroundColor = "#FFFFFF";
		document.getElementById("c9").style.backgroundColor = "#FFFFFF";
		document.getElementById("c10").style.backgroundColor = "#FFFFFF";
		document.getElementById("c11").style.backgroundColor = "#FFFFFF";
		document.getElementById("c12").style.backgroundColor = "#FFFFFF";
		document.getElementById("c13").style.backgroundColor = "#FFFFFF";
		document.getElementById("c14").style.backgroundColor = "#FFFFFF";
		document.getElementById("c15").style.backgroundColor = "#FFFFFF";
		document.getElementById("c16").style.backgroundColor = "#FF1D00";
		document.getElementById("c17").style.backgroundColor = "#FFFFFF";
		document.getElementById("c18").style.backgroundColor = "#FFFFFF";
		document.getElementById("c19").style.backgroundColor = "#FFFFFF";
		document.getElementById("c20").style.backgroundColor = "#FFFFFF";
		document.getElementById("a1").style.color = "#FF1D00";
		document.getElementById("a2").style.color = "#FF1D00";
		document.getElementById("a3").style.color = "#FF1D00";
		document.getElementById("a4").style.color = "#FF1D00";
		document.getElementById("a5").style.color = "#FF1D00";
		document.getElementById("a6").style.color = "#FF1D00";
		document.getElementById("a7").style.color = "#FF1D00";
		document.getElementById("a8").style.color = "#FF1D00";
		document.getElementById("a9").style.color = "#FF1D00";
		document.getElementById("a10").style.color = "#FF1D00";
		document.getElementById("a11").style.color = "#FF1D00";
		document.getElementById("a12").style.color = "#FF1D00";
		document.getElementById("a13").style.color = "#FF1D00";
		document.getElementById("a14").style.color = "#FF1D00";
		document.getElementById("a15").style.color = "#FF1D00";
		document.getElementById("a16").style.color = "#FFFFFF";
		document.getElementById("a17").style.color = "#FF1D00";
		document.getElementById("a18").style.color = "#FF1D00";
		document.getElementById("a19").style.color = "#FF1D00";
		document.getElementById("a20").style.color = "#FF1D00";
	}
	if (tipo == "17") {
	  	document.getElementById("testo").innerHTML = tipo_17;
		document.getElementById("c1").style.backgroundColor = "#FFFFFF";
		document.getElementById("c2").style.backgroundColor = "#FFFFFF";
		document.getElementById("c3").style.backgroundColor = "#FFFFFF";
		document.getElementById("c4").style.backgroundColor = "#FFFFFF";
		document.getElementById("c5").style.backgroundColor = "#FFFFFF";
		document.getElementById("c6").style.backgroundColor = "#FFFFFF";
		document.getElementById("c7").style.backgroundColor = "#FFFFFF";
		document.getElementById("c8").style.backgroundColor = "#FFFFFF";
		document.getElementById("c9").style.backgroundColor = "#FFFFFF";
		document.getElementById("c10").style.backgroundColor = "#FFFFFF";
		document.getElementById("c11").style.backgroundColor = "#FFFFFF";
		document.getElementById("c12").style.backgroundColor = "#FFFFFF";
		document.getElementById("c13").style.backgroundColor = "#FFFFFF";
		document.getElementById("c14").style.backgroundColor = "#FFFFFF";
		document.getElementById("c15").style.backgroundColor = "#FFFFFF";
		document.getElementById("c16").style.backgroundColor = "#FFFFFF";
		document.getElementById("c17").style.backgroundColor = "#FF1D00";
		document.getElementById("c18").style.backgroundColor = "#FFFFFF";
		document.getElementById("c19").style.backgroundColor = "#FFFFFF";
		document.getElementById("c20").style.backgroundColor = "#FFFFFF";
		document.getElementById("a1").style.color = "#FF1D00";
		document.getElementById("a2").style.color = "#FF1D00";
		document.getElementById("a3").style.color = "#FF1D00";
		document.getElementById("a4").style.color = "#FF1D00";
		document.getElementById("a5").style.color = "#FF1D00";
		document.getElementById("a6").style.color = "#FF1D00";
		document.getElementById("a7").style.color = "#FF1D00";
		document.getElementById("a8").style.color = "#FF1D00";
		document.getElementById("a9").style.color = "#FF1D00";
		document.getElementById("a10").style.color = "#FF1D00";
		document.getElementById("a11").style.color = "#FF1D00";
		document.getElementById("a12").style.color = "#FF1D00";
		document.getElementById("a13").style.color = "#FF1D00";
		document.getElementById("a14").style.color = "#FF1D00";
		document.getElementById("a15").style.color = "#FF1D00";
		document.getElementById("a16").style.color = "#FF1D00";
		document.getElementById("a17").style.color = "#FFFFFF";
		document.getElementById("a18").style.color = "#FF1D00";
		document.getElementById("a19").style.color = "#FF1D00";
		document.getElementById("a20").style.color = "#FF1D00";
	}
	if (tipo == "18") {
	  	document.getElementById("testo").innerHTML = tipo_18;
		document.getElementById("c1").style.backgroundColor = "#FFFFFF";
		document.getElementById("c2").style.backgroundColor = "#FFFFFF";
		document.getElementById("c3").style.backgroundColor = "#FFFFFF";
		document.getElementById("c4").style.backgroundColor = "#FFFFFF";
		document.getElementById("c5").style.backgroundColor = "#FFFFFF";
		document.getElementById("c6").style.backgroundColor = "#FFFFFF";
		document.getElementById("c7").style.backgroundColor = "#FFFFFF";
		document.getElementById("c8").style.backgroundColor = "#FFFFFF";
		document.getElementById("c9").style.backgroundColor = "#FFFFFF";
		document.getElementById("c10").style.backgroundColor = "#FFFFFF";
		document.getElementById("c11").style.backgroundColor = "#FFFFFF";
		document.getElementById("c12").style.backgroundColor = "#FFFFFF";
		document.getElementById("c13").style.backgroundColor = "#FFFFFF";
		document.getElementById("c14").style.backgroundColor = "#FFFFFF";
		document.getElementById("c15").style.backgroundColor = "#FFFFFF";
		document.getElementById("c16").style.backgroundColor = "#FFFFFF";
		document.getElementById("c17").style.backgroundColor = "#FFFFFF";
		document.getElementById("c18").style.backgroundColor = "#FF1D00";
		document.getElementById("c19").style.backgroundColor = "#FFFFFF";
		document.getElementById("c20").style.backgroundColor = "#FFFFFF";
		document.getElementById("a1").style.color = "#FF1D00";
		document.getElementById("a2").style.color = "#FF1D00";
		document.getElementById("a3").style.color = "#FF1D00";
		document.getElementById("a4").style.color = "#FF1D00";
		document.getElementById("a5").style.color = "#FF1D00";
		document.getElementById("a6").style.color = "#FF1D00";
		document.getElementById("a7").style.color = "#FF1D00";
		document.getElementById("a8").style.color = "#FF1D00";
		document.getElementById("a9").style.color = "#FF1D00";
		document.getElementById("a10").style.color = "#FF1D00";
		document.getElementById("a11").style.color = "#FF1D00";
		document.getElementById("a12").style.color = "#FF1D00";
		document.getElementById("a13").style.color = "#FF1D00";
		document.getElementById("a14").style.color = "#FF1D00";
		document.getElementById("a15").style.color = "#FF1D00";
		document.getElementById("a16").style.color = "#FF1D00";
		document.getElementById("a17").style.color = "#FF1D00";
		document.getElementById("a18").style.color = "#FFFFFF";
		document.getElementById("a19").style.color = "#FF1D00";
		document.getElementById("a20").style.color = "#FF1D00";
	}
	if (tipo == "19") {
	  	document.getElementById("testo").innerHTML = tipo_19;
		document.getElementById("c1").style.backgroundColor = "#FFFFFF";
		document.getElementById("c2").style.backgroundColor = "#FFFFFF";
		document.getElementById("c3").style.backgroundColor = "#FFFFFF";
		document.getElementById("c4").style.backgroundColor = "#FFFFFF";
		document.getElementById("c5").style.backgroundColor = "#FFFFFF";
		document.getElementById("c6").style.backgroundColor = "#FFFFFF";
		document.getElementById("c7").style.backgroundColor = "#FFFFFF";
		document.getElementById("c8").style.backgroundColor = "#FFFFFF";
		document.getElementById("c9").style.backgroundColor = "#FFFFFF";
		document.getElementById("c10").style.backgroundColor = "#FFFFFF";
		document.getElementById("c11").style.backgroundColor = "#FFFFFF";
		document.getElementById("c12").style.backgroundColor = "#FFFFFF";
		document.getElementById("c13").style.backgroundColor = "#FFFFFF";
		document.getElementById("c14").style.backgroundColor = "#FFFFFF";
		document.getElementById("c15").style.backgroundColor = "#FFFFFF";
		document.getElementById("c16").style.backgroundColor = "#FFFFFF";
		document.getElementById("c17").style.backgroundColor = "#FFFFFF";
		document.getElementById("c18").style.backgroundColor = "#FFFFFF";
		document.getElementById("c19").style.backgroundColor = "#FF1D00";
		document.getElementById("c20").style.backgroundColor = "#FFFFFF";
		document.getElementById("a1").style.color = "#FF1D00";
		document.getElementById("a2").style.color = "#FF1D00";
		document.getElementById("a3").style.color = "#FF1D00";
		document.getElementById("a4").style.color = "#FF1D00";
		document.getElementById("a5").style.color = "#FF1D00";
		document.getElementById("a6").style.color = "#FF1D00";
		document.getElementById("a7").style.color = "#FF1D00";
		document.getElementById("a8").style.color = "#FF1D00";
		document.getElementById("a9").style.color = "#FF1D00";
		document.getElementById("a10").style.color = "#FF1D00";
		document.getElementById("a11").style.color = "#FF1D00";
		document.getElementById("a12").style.color = "#FF1D00";
		document.getElementById("a13").style.color = "#FF1D00";
		document.getElementById("a14").style.color = "#FF1D00";
		document.getElementById("a15").style.color = "#FF1D00";
		document.getElementById("a16").style.color = "#FF1D00";
		document.getElementById("a17").style.color = "#FF1D00";
		document.getElementById("a18").style.color = "#FF1D00";
		document.getElementById("a19").style.color = "#FFFFFF";
		document.getElementById("a20").style.color = "#FF1D00";
	}
	if (tipo == "20") {
	  	document.getElementById("testo").innerHTML = tipo_20;
		document.getElementById("c1").style.backgroundColor = "#FFFFFF";
		document.getElementById("c2").style.backgroundColor = "#FFFFFF";
		document.getElementById("c3").style.backgroundColor = "#FFFFFF";
		document.getElementById("c4").style.backgroundColor = "#FFFFFF";
		document.getElementById("c5").style.backgroundColor = "#FFFFFF";
		document.getElementById("c6").style.backgroundColor = "#FFFFFF";
		document.getElementById("c7").style.backgroundColor = "#FFFFFF";
		document.getElementById("c8").style.backgroundColor = "#FFFFFF";
		document.getElementById("c9").style.backgroundColor = "#FFFFFF";
		document.getElementById("c10").style.backgroundColor = "#FFFFFF";
		document.getElementById("c11").style.backgroundColor = "#FFFFFF";
		document.getElementById("c12").style.backgroundColor = "#FFFFFF";
		document.getElementById("c13").style.backgroundColor = "#FFFFFF";
		document.getElementById("c14").style.backgroundColor = "#FFFFFF";
		document.getElementById("c15").style.backgroundColor = "#FFFFFF";
		document.getElementById("c16").style.backgroundColor = "#FFFFFF";
		document.getElementById("c17").style.backgroundColor = "#FFFFFF";
		document.getElementById("c18").style.backgroundColor = "#FFFFFF";
		document.getElementById("c19").style.backgroundColor = "#FFFFFF";
		document.getElementById("c20").style.backgroundColor = "#FF1D00";
		document.getElementById("a1").style.color = "#FF1D00";
		document.getElementById("a2").style.color = "#FF1D00";
		document.getElementById("a3").style.color = "#FF1D00";
		document.getElementById("a4").style.color = "#FF1D00";
		document.getElementById("a5").style.color = "#FF1D00";
		document.getElementById("a6").style.color = "#FF1D00";
		document.getElementById("a7").style.color = "#FF1D00";
		document.getElementById("a8").style.color = "#FF1D00";
		document.getElementById("a9").style.color = "#FF1D00";
		document.getElementById("a10").style.color = "#FF1D00";
		document.getElementById("a11").style.color = "#FF1D00";
		document.getElementById("a12").style.color = "#FF1D00";
		document.getElementById("a13").style.color = "#FF1D00";
		document.getElementById("a14").style.color = "#FF1D00";
		document.getElementById("a15").style.color = "#FF1D00";
		document.getElementById("a16").style.color = "#FF1D00";
		document.getElementById("a17").style.color = "#FF1D00";
		document.getElementById("a18").style.color = "#FF1D00";
		document.getElementById("a19").style.color = "#FF1D00";
		document.getElementById("a20").style.color = "#FFFFFF";
	}
}
