//code programmed by Amon Christian
function auswertung()
	{
		bass();
		diskant();
	}


	function bass()
	{
	var a;
	var b;
	eingabe = new Array(44);
	ausgabe = new Array(44);



// arrays mit blanks füllen 
	for (a = 0;a <= 44; a++)
	{
		eingabe[a]="";
		ausgabe[a]="";
	}

			if (document.diskant.stimmung.options[0].selected == true){intervall = -2}
			if (document.diskant.stimmung.options[1].selected == true){intervall = -1}
			if (document.diskant.stimmung.options[2].selected == true){intervall = 0}
			if (document.diskant.stimmung.options[3].selected == true){intervall = 1}
			if (document.diskant.stimmung.options[4].selected == true){intervall = 2}
			if (document.diskant.stimmung.options[5].selected == true){intervall = 3}
			if (document.diskant.stimmung.options[6].selected == true){intervall = 4}

			if (document.diskant.bass.options[0].selected == true)	//übergangsbässe
			{
				eingabe[1]="E"				//innenreihe druck
				eingabe[2]="e"
				eingabe[3]="H"
				eingabe[4]="h"
				eingabe[5]="Fis"
				eingabe[6]="fis"
				eingabe[7]="E"

				eingabe[12]="F"				//innenreihe zug
				eingabe[13]="f"
				eingabe[14]="C"
				eingabe[15]="c"
				eingabe[16]="G"
				eingabe[17]="g"
				eingabe[18]="H"

				eingabe[23]="C"				//außenreihe druck
				eingabe[24]="c"
				eingabe[25]="G"
				eingabe[26]="g"
				eingabe[27]="D"
				eingabe[28]="d"
				eingabe[29]="A"
				eingabe[30]="a"

				eingabe[34]="G"				//außenreihe zug
				eingabe[35]="g"
				eingabe[36]="D"
				eingabe[37]="d"
				eingabe[38]="A"
				eingabe[39]="a"
				eingabe[40]="E"
				eingabe[41]="e"
				
				document.all.ba_10_d.style.visibility="hidden"			//Ausschalten der Knöpfe
				document.all.ba_10_z.style.visibility="hidden"

			}
			
			if (document.diskant.bass.options[4].selected == true)	//übergang mit x-bass
			{
				eingabe[1]="E"				//innenreihe druck
				eingabe[2]="e"
				eingabe[3]="H"
				eingabe[4]="h"
				eingabe[5]="Fis"
				eingabe[6]="fis"
				eingabe[7]="E"

				eingabe[12]="F"				//innenreihe zug
				eingabe[13]="f"
				eingabe[14]="C"
				eingabe[15]="c"
				eingabe[16]="G"
				eingabe[17]="g"
				eingabe[18]="H"

				eingabe[23]="C"				//außenreihe druck
				eingabe[24]="c"
				eingabe[25]="G"
				eingabe[26]="g"
				eingabe[27]="D"
				eingabe[28]="d"
				eingabe[29]="A"
				eingabe[30]="a"
				eingabe[31]="E"

				eingabe[34]="G"				//außenreihe zug
				eingabe[35]="g"
				eingabe[36]="D"
				eingabe[37]="d"
				eingabe[38]="A"
				eingabe[39]="a"
				eingabe[40]="E"
				eingabe[41]="e"
				eingabe[42]="H"
				
				document.all.ba_10_d.style.visibility="visible"
				document.all.ba_10_z.style.visibility="visible"

			} 

			if (document.diskant.bass.options[5].selected == true)	//moll
			{
				eingabe[1]="E"				//innenreihe druck
				eingabe[2]="e"
				eingabe[3]="H"
				eingabe[4]="h"
				eingabe[5]="Fis"
				eingabe[6]="fis"
				eingabe[7]="E"

				eingabe[12]="F"				//innenreihe zug
				eingabe[13]="f"
				eingabe[14]="C"
				eingabe[15]="c"
				eingabe[16]="H"
				eingabe[17]="hm"
				eingabe[18]="H"

				eingabe[23]="C"				//außenreihe druck
				eingabe[24]="c"
				eingabe[25]="G"
				eingabe[26]="g"
				eingabe[27]="D"
				eingabe[28]="d"
				eingabe[29]="A"
				eingabe[30]="a"

				eingabe[34]="G"				//außenreihe zug
				eingabe[35]="g"
				eingabe[36]="D"
				eingabe[37]="d"
				eingabe[38]="A"
				eingabe[39]="a"
				eingabe[40]="E"
				eingabe[41]="e"
				
				document.all.ba_10_d.style.visibility="hidden"
				document.all.ba_10_z.style.visibility="hidden"

			} 

			if (document.diskant.bass.options[6].selected == true)	//  mollbass, basslauf
			{
				eingabe[1]="E"				//innenreihe druck
				eingabe[2]="e"
				eingabe[3]="H"
				eingabe[4]="h"
				eingabe[5]="Fis"
				eingabe[6]="fis"
				eingabe[7]="E"

				eingabe[12]="F"				//innenreihe zug
				eingabe[13]="f"
				eingabe[14]="C"
				eingabe[15]="c"
				eingabe[16]="H"
				eingabe[17]="hm"
				eingabe[18]="Cis"

				eingabe[23]="C"				//außenreihe druck
				eingabe[24]="c"
				eingabe[25]="G"
				eingabe[26]="g"
				eingabe[27]="D"
				eingabe[28]="d"
				eingabe[29]="A"
				eingabe[30]="a"

				eingabe[34]="G"				//außenreihe zug
				eingabe[35]="g"
				eingabe[36]="D"
				eingabe[37]="d"
				eingabe[38]="A"
				eingabe[39]="a"
				eingabe[40]="E"
				eingabe[41]="e"

				document.all.ba_10_d.style.visibility="hidden"
				document.all.ba_10_z.style.visibility="hidden"
			} 
			
			if (document.diskant.bass.options[7].selected == true)	//  mollb, x
			{
				eingabe[1]="E"				//innenreihe druck
				eingabe[2]="e"
				eingabe[3]="H"
				eingabe[4]="h"
				eingabe[5]="Fis"
				eingabe[6]="fis"
				eingabe[7]="E"

				eingabe[12]="F"				//innenreihe zug
				eingabe[13]="f"
				eingabe[14]="C"
				eingabe[15]="c"
				eingabe[16]="H"
				eingabe[17]="hm"
				eingabe[18]="H"

				eingabe[23]="C"				//außenreihe druck
				eingabe[24]="c"
				eingabe[25]="G"
				eingabe[26]="g"
				eingabe[27]="D"
				eingabe[28]="d"
				eingabe[29]="A"
				eingabe[30]="a"
				eingabe[31]="E"
				
				eingabe[34]="G"				//außenreihe zug
				eingabe[35]="g"
				eingabe[36]="D"
				eingabe[37]="d"
				eingabe[38]="A"
				eingabe[39]="a"
				eingabe[40]="E"
				eingabe[41]="e"
				eingabe[42]="H"
				
				document.all.ba_10_d.style.visibility="visible"
				document.all.ba_10_z.style.visibility="visible"
			} 

// hier werden durch transponieren aus den werten für eingabe[0-43] die werte ausgabe [0-43]

	for (a = 0 ; a <= 43 ; a++)
	{
		if (document.diskant.stimmung.options[1].selected || document.diskant.stimmung.options[2].selected || document.diskant.stimmung.options[4].selected || document.diskant.stimmung.options[6].selected == true)
		{
			ausgabe[a]=transpo(ton2number(eingabe[a]), intervall);	//kreuz
		}
		else
		{
			ausgabe[a]=transpo2(ton2number(eingabe[a]), intervall);	// Be
		}
	}
//ausfüllen des systems wie man es von außen sieht
	document.diskant.i_4_d.value=ausgabe[3];
	document.diskant.i_5_d.value=ausgabe[4];
	document.diskant.i_6_d.value=ausgabe[5];
	document.diskant.i_7_d.value=ausgabe[6];
	document.diskant.i_8_d.value=ausgabe[7];

	document.diskant.i_4_z.value=ausgabe[14];
	document.diskant.i_5_z.value=ausgabe[15];
	document.diskant.i_6_z.value=ausgabe[16];
	document.diskant.i_7_z.value=ausgabe[17];
	document.diskant.i_8_z.value=ausgabe[18];

	document.diskant.a_4_d.value=ausgabe[25];
	document.diskant.a_5_d.value=ausgabe[26];
	document.diskant.a_6_d.value=ausgabe[27];
	document.diskant.a_7_d.value=ausgabe[28];
	document.diskant.a_8_d.value=ausgabe[29];
	document.diskant.a_9_d.value=ausgabe[30];
	document.diskant.a_10_d.value=ausgabe[31];

	document.diskant.a_4_z.value=ausgabe[36];
	document.diskant.a_5_z.value=ausgabe[37];
	document.diskant.a_6_z.value=ausgabe[38];
	document.diskant.a_7_z.value=ausgabe[39];
	document.diskant.a_8_z.value=ausgabe[40];
	document.diskant.a_9_z.value=ausgabe[41];
	document.diskant.a_10_z.value=ausgabe[42];


function ton2number(x)
{
	
	var a;
	toene= new Array("", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-",
				  "C", "Cis", "D", "Dis", "E", "F", "Fis", "G", "Gis", "A", "B", "H",
				  "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-",
				  "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-",
				  "c", "cis", "d", "dis", "e", "f", "fis", "g", "gis", "a", "b", "h",
				  "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-",
				  "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-",
				  "cm", "cism", "dm", "dism", "em", "fm", "fism", "gm", "gism", "am", "bm", "hm"
				  );

	for (a=0 ; a<=95 ; a++)
	{
		if(x == toene[a])
		{
			if (a != 0)
			{
				return a;
			}
			else
			{
				return "";
			}
		}
	}
}

function transpo(ton, intervall)
{
	toene= new Array("C", "Cis", "D", "Dis", "E", "F", "Fis", "G", "Gis", "A", "B", "H",
					  "C", "Cis", "D", "Dis", "E", "F", "Fis", "G", "Gis", "A", "B", "H",
					  "C", "Cis", "D", "Dis", "E", "F", "Fis", "G", "Gis", "A", "B", "H",
					  "c", "cis", "d", "dis", "e", "f", "fis", "g", "gis", "a", "b", "h",
					  "c", "cis", "d", "dis", "e", "f", "fis", "g", "gis", "a", "b", "h",
					  "c", "cis", "d", "dis", "e", "f", "fis", "g", "gis", "a", "b", "h",
					  "cm", "cism", "dm", "dism", "em", "fm", "fism", "gm", "gism", "am", "bm", "hm",
					  "cm", "cism", "dm", "dism", "em", "fm", "fism", "gm", "gism", "am", "bm", "hm",
					  "cm", "cism", "dm", "dism", "em", "fm", "fism", "gm", "gism", "am", "bm", "hm"
					  );
	if (ton == "")
		{
			return "";
		}
		else
		{
			return toene[ton+intervall];
		}
}


function transpo2(ton, intervall)
{
	toene= new Array("C", "Des", "D", "Es", "E", "F", "Ges", "G", "As", "A", "B", "H",
					  "C", "Des", "D", "Es", "E", "F", "Ges", "G", "As", "A", "B", "H",
					  "C", "Des", "D", "Es", "E", "F", "Ges", "G", "As", "A", "B", "H",
					  "c", "des", "d", "es", "e", "f", "ges", "g", "as", "a", "b", "h",
					  "c", "des", "d", "es", "e", "f", "ges", "g", "as", "a", "b", "h",
					  "c", "des", "d", "es", "e", "f", "ges", "g", "as", "a", "b", "h",
					  "cm", "desm", "dm", "esm", "em", "fm", "gesm", "gm", "asm", "am", "bm", "hm",
					  "cm", "desm", "dm", "esm", "em", "fm", "gesm", "gm", "asm", "am", "bm", "hm",
					  "cm", "desm", "dm", "esm", "em", "fm", "gesm", "gm", "asm", "am", "bm", "hm"
					  );
	
	if (ton == "")
		{
			return "";
		}
		else
		{
			return toene[ton+intervall];
		}
}
}

//Diskant
function diskant()
	{
		var Grundton = 10;
		Gross = new Array("C", "Cis", "D", "Dis", "E", "F", "Fis", "G", "Gis", "A", "Ais", "H",
						  "c", "cis", "d", "dis", "e", "f", "fis", "g", "gis", "a", "ais", "h",
						  "c'", "cis'", "d'", "dis'", "e'", "f'", "fis'", "g'", "gis'", "a'", "ais'", "h'",
						  "c''", "cis''", "d''", "dis''", "e''", "f''", "fis''", "g''", "gis''", "a''", "ais''", "h''",
						  "c'''", "cis'''", "d'''", "dis'''", "e'''", "f'''", "fis'''", "g'''", "gis'''", "a'''", "ais'''", "h'''",
						  "c''''", "cis''''", "d''''", "dis''''", "e''''", "f''''", "fis''''", "g''''", "gis''''", "a''''", "ais''''", "h''''")
						  ;

		B = new Array("C", "Des", "D", "Es", "E", "F", "Ges", "G", "As", "A", "B", "H",
						  "c", "des", "d", "es", "e", "f", "ges", "g", "as", "a", "b", "h",
						  "c'", "des'", "d'", "es'", "e'", "f'", "ges'", "g'", "as'", "a'", "b'", "h'",
						  "c''", "des''", "d''", "es''", "e''", "f''", "ges''", "g''", "as''", "a''", "b''", "h''",
						  "c'''", "des'''", "d'''", "es'''", "e'''", "f'''", "ges'''", "g'''", "as'''", "a'''", "b'''", "h'''",
						  "c''''", "des''''", "d''''", "es''''", "e''''", "f''''", "ges''''", "g''''", "as''''", "a''''", "b''''", "h''''")
						  ;
	
		if (document.diskant.stimmung.options[0].selected == true)		//G
		{
			Grundton = 7;
			bb();
			ausführung();
		}

		if (document.diskant.stimmung.options[1].selected == true)		//Gis
		{
			Grundton = 8;
			kreuz();
			ausführung();
		}

		if (document.diskant.stimmung.options[2].selected == true)		//A
		{
			Grundton = 9;
			kreuz();
			ausführung();
		}

		if (document.diskant.stimmung.options[3].selected == true)		//B
		{
			Grundton = 10;
			bb();
			ausführung();
		}

		if (document.diskant.stimmung.options[4].selected == true)		//H
		{
			Grundton = 11;
			kreuz();
			ausführung();
		}

		if (document.diskant.stimmung.options[5].selected == true)		//C
		{
			Grundton = 12;
			bb();
			ausführung();
		}

		if (document.diskant.stimmung.options[6].selected == true)		//Cis
		{
			Grundton = 13;
			kreuz();
			ausführung();
		}

function kreuz()
		{
		//-----------Transposition 3. Reihe Druck ---------------------

			document.diskant.r3_1_d.value = Gross[Grundton + 10];
			document.diskant.r3_2_d.value = Gross[Grundton + 14];
			document.diskant.r3_3_d.value = Gross[Grundton + 17];
			document.diskant.r3_4_d.value = Gross[Grundton + 22];
			document.diskant.r3_5_d.value = Gross[Grundton + 26];
			document.diskant.r3_6_d.value = Gross[Grundton + 29];
			document.diskant.r3_7_d.value = Gross[Grundton + 34];
			document.diskant.r3_8_d.value = Gross[Grundton + 38];
			document.diskant.r3_9_d.value = Gross[Grundton + 41];
			document.diskant.r3_10_d.value = Gross[Grundton + 46];

		//-----------Transposition 3. Reihe Zug ---------------------
		
			document.diskant.r3_1_z.value = Gross[Grundton + 15];
			document.diskant.r3_2_z.value = Gross[Grundton + 17];
			document.diskant.r3_3_z.value = Gross[Grundton + 21];
			document.diskant.r3_4_z.value = Gross[Grundton + 24];
			document.diskant.r3_5_z.value = Gross[Grundton + 27];
			document.diskant.r3_6_z.value = Gross[Grundton + 29];
			document.diskant.r3_7_z.value = Gross[Grundton + 33];
			document.diskant.r3_8_z.value = Gross[Grundton + 36];
			document.diskant.r3_9_z.value = Gross[Grundton + 39];
			document.diskant.r3_10_z.value = Gross[Grundton + 43];

		//-----------Transposition 2. Reihe Druck ---------------------
		
			document.diskant.r2_1_d.value = Gross[Grundton + 5];
			document.diskant.r2_2_d.value = Gross[Grundton + 9];
			document.diskant.r2_3_d.value = Gross[Grundton + 12];
			document.diskant.r2_4_d.value = Gross[Grundton + 17];
			document.diskant.r2_5_d.value = Gross[Grundton + 21];
			document.diskant.r2_6_d.value = Gross[Grundton + 24];
			document.diskant.r2_7_d.value = Gross[Grundton + 29];
			document.diskant.r2_8_d.value = Gross[Grundton + 33];
			document.diskant.r2_9_d.value = Gross[Grundton + 36];
			document.diskant.r2_10_d.value = Gross[Grundton + 41];
			document.diskant.r2_11_d.value = Gross[Grundton + 45];

		//-----------Transposition 2. Reihe Zug ---------------------
		
			document.diskant.r2_1_z.value = Gross[Grundton + 10];
			document.diskant.r2_2_z.value = Gross[Grundton + 12];
			document.diskant.r2_3_z.value = Gross[Grundton + 16];
			document.diskant.r2_4_z.value = Gross[Grundton + 19];
			document.diskant.r2_5_z.value = Gross[Grundton + 22];
			document.diskant.r2_6_z.value = Gross[Grundton + 24];
			document.diskant.r2_7_z.value = Gross[Grundton + 28];
			document.diskant.r2_8_z.value = Gross[Grundton + 31];
			document.diskant.r2_9_z.value = Gross[Grundton + 34];
			document.diskant.r2_10_z.value = Gross[Grundton + 38];
			document.diskant.r2_11_z.value = Gross[Grundton + 40];

		//-----------Transposition 1. Reihe Druck ---------------------
		
			document.diskant.r1_1_d.value = Gross[Grundton + 0];
			document.diskant.r1_2_d.value = Gross[Grundton + 4];
			document.diskant.r1_3_d.value = Gross[Grundton + 7];
			document.diskant.r1_4_d.value = Gross[Grundton + 12];
			document.diskant.r1_5_d.value = Gross[Grundton + 16];
			document.diskant.r1_6_d.value = Gross[Grundton + 19];
			document.diskant.r1_7_d.value = Gross[Grundton + 24];
			document.diskant.r1_8_d.value = Gross[Grundton + 28];
			document.diskant.r1_9_d.value = Gross[Grundton + 31];
			document.diskant.r1_10_d.value = Gross[Grundton + 36];
			document.diskant.r1_11_d.value = Gross[Grundton + 40];
			document.diskant.r1_12_d.value = Gross[Grundton + 43];

		//-----------Transposition 1. Reihe Zug ---------------------
		
			document.diskant.r1_1_z.value = Gross[Grundton + 5];
			document.diskant.r1_2_z.value = Gross[Grundton + 7];
			document.diskant.r1_3_z.value = Gross[Grundton + 11];
			document.diskant.r1_4_z.value = Gross[Grundton + 14];
			document.diskant.r1_5_z.value = Gross[Grundton + 17];
			document.diskant.r1_6_z.value = Gross[Grundton + 21];
			document.diskant.r1_7_z.value = Gross[Grundton + 23];
			document.diskant.r1_8_z.value = Gross[Grundton + 26];
			document.diskant.r1_9_z.value = Gross[Grundton + 29];
			document.diskant.r1_10_z.value = Gross[Grundton + 33];
			document.diskant.r1_11_z.value = Gross[Grundton + 35];
			document.diskant.r1_12_z.value = Gross[Grundton + 38];
		}

		
		
function  bb() 		
		{

		//-----------Transposition 3. Reihe Druck ---------------------

			document.diskant.r3_1_d.value = B[Grundton + 10];
			document.diskant.r3_2_d.value = B[Grundton + 14];
			document.diskant.r3_3_d.value = B[Grundton + 17];
			document.diskant.r3_4_d.value = B[Grundton + 22];
			document.diskant.r3_5_d.value = B[Grundton + 26];
			document.diskant.r3_6_d.value = B[Grundton + 29];
			document.diskant.r3_7_d.value = B[Grundton + 34];
			document.diskant.r3_8_d.value = B[Grundton + 38];
			document.diskant.r3_9_d.value = B[Grundton + 41];
			document.diskant.r3_10_d.value = B[Grundton + 46];

		//-----------Transposition 3. Reihe Zug ---------------------
		
			document.diskant.r3_1_z.value = B[Grundton + 15];
			document.diskant.r3_2_z.value = B[Grundton + 17];
			document.diskant.r3_3_z.value = B[Grundton + 21];
			document.diskant.r3_4_z.value = B[Grundton + 24];
			document.diskant.r3_5_z.value = B[Grundton + 27];
			document.diskant.r3_6_z.value = B[Grundton + 29];
			document.diskant.r3_7_z.value = B[Grundton + 33];
			document.diskant.r3_8_z.value = B[Grundton + 36];
			document.diskant.r3_9_z.value = B[Grundton + 39];
			document.diskant.r3_10_z.value = B[Grundton + 43];

		//-----------Transposition 2. Reihe Druck ---------------------
		
			document.diskant.r2_1_d.value = B[Grundton + 5];
			document.diskant.r2_2_d.value = B[Grundton + 9];
			document.diskant.r2_3_d.value = B[Grundton + 12];
			document.diskant.r2_4_d.value = B[Grundton + 17];
			document.diskant.r2_5_d.value = B[Grundton + 21];
			document.diskant.r2_6_d.value = B[Grundton + 24];
			document.diskant.r2_7_d.value = B[Grundton + 29];
			document.diskant.r2_8_d.value = B[Grundton + 33];
			document.diskant.r2_9_d.value = B[Grundton + 36];
			document.diskant.r2_10_d.value = B[Grundton + 41];
			document.diskant.r2_11_d.value = B[Grundton + 45];

		//-----------Transposition 2. Reihe Zug ---------------------
		
			document.diskant.r2_1_z.value = B[Grundton + 10];
			document.diskant.r2_2_z.value = B[Grundton + 12];
			document.diskant.r2_3_z.value = B[Grundton + 16];
			document.diskant.r2_4_z.value = B[Grundton + 19];
			document.diskant.r2_5_z.value = B[Grundton + 22];
			document.diskant.r2_6_z.value = B[Grundton + 24];
			document.diskant.r2_7_z.value = B[Grundton + 28];
			document.diskant.r2_8_z.value = B[Grundton + 31];
			document.diskant.r2_9_z.value = B[Grundton + 34];
			document.diskant.r2_10_z.value = B[Grundton + 38];
			document.diskant.r2_11_z.value = B[Grundton + 40];

		//-----------Transposition 1. Reihe Druck ---------------------
		
			document.diskant.r1_1_d.value = B[Grundton + 0];
			document.diskant.r1_2_d.value = B[Grundton + 4];
			document.diskant.r1_3_d.value = B[Grundton + 7];
			document.diskant.r1_4_d.value = B[Grundton + 12];
			document.diskant.r1_5_d.value = B[Grundton + 16];
			document.diskant.r1_6_d.value = B[Grundton + 19];
			document.diskant.r1_7_d.value = B[Grundton + 24];
			document.diskant.r1_8_d.value = B[Grundton + 28];
			document.diskant.r1_9_d.value = B[Grundton + 31];
			document.diskant.r1_10_d.value = B[Grundton + 36];
			document.diskant.r1_11_d.value = B[Grundton + 40];
			document.diskant.r1_12_d.value = B[Grundton + 43];

		//-----------Transposition 1. Reihe Zug ---------------------
		
			document.diskant.r1_1_z.value = B[Grundton + 5];
			document.diskant.r1_2_z.value = B[Grundton + 7];
			document.diskant.r1_3_z.value = B[Grundton + 11];
			document.diskant.r1_4_z.value = B[Grundton + 14];
			document.diskant.r1_5_z.value = B[Grundton + 17];
			document.diskant.r1_6_z.value = B[Grundton + 21];
			document.diskant.r1_7_z.value = B[Grundton + 23];
			document.diskant.r1_8_z.value = B[Grundton + 26];
			document.diskant.r1_9_z.value = B[Grundton + 29];
			document.diskant.r1_10_z.value = B[Grundton + 33];
			document.diskant.r1_11_z.value = B[Grundton + 35];
			document.diskant.r1_12_z.value = B[Grundton + 38];
			
			if (document.diskant.stimmung.options[0].selected == true) // G
			{
			document.diskant.r1_3_z.value = Gross[Grundton + 11];
			document.diskant.r1_7_z.value = Gross[Grundton + 23];
			document.diskant.r1_11_z.value = Gross[Grundton + 35];			
			}
		}
	
function ausführung()
	{
		if (document.diskant.diskant.options[0].selected == true)		// Normalsystem
		{
				document.all.r11_1_d.className="knopf_druck"
				document.all.r11_1_z.className="knopf_zug"
		}
		
		if (document.diskant.diskant.options[4].selected == true)		// 1 Halbton
		{
				document.all.r11_1_d.className="knopf_druck_hell"
				document.all.r11_1_z.className="knopf_zug_hell"
			
			if (document.diskant.stimmung.options[0].selected || document.diskant.stimmung.options[2].selected || document.diskant.stimmung.options[3].selected || document.diskant.stimmung.options[5].selected || document.diskant.stimmung.options[6].selected == true)
			{
				document.diskant.r1_1_d.value = B[Grundton + 27];
				document.diskant.r1_1_z.value = B[Grundton + 25];
			}
			else
			{
				document.diskant.r1_1_d.value = Gross[Grundton + 27];
				document.diskant.r1_1_z.value = Gross[Grundton + 25];
			}
		}
	}

}