	function initialisierung(option)
	{
		document.form.Tonart[option].checked = true;
		document.form.verwechslung[1].checked = true;
		test()
	}	

	function test()
	{
		var Grundton = 10;
		Gross = new Array("C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "B", "H",
						  "c", "c#", "d", "d#", "e", "f", "f#", "g", "g#", "a", "b", "h",
						  "c'", "c#'", "d'", "d#'", "e'", "f'", "f#'", "g'", "g#'", "a'", "b'", "h'",
						  "c''", "c#''", "d''", "d#''", "e''", "f''", "f#''", "g''", "g#''", "a''", "b''", "h''",
						  "c'''", "c#'''", "d'''", "d#'''", "e'''", "f'''", "f#'''", "g'''", "g#'''", "a'''", "b'''", "h'''",
						  "c''''", "c#''''", "d''''", "d#''''", "e''''", "f''''", "f#''''", "g''''", "g#''''", "a''''", "b''''", "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.form.Tonart[0].checked)		//F
		{
			Grundton = 5;
		}

		if (document.form.Tonart[1].checked)		//Fis
		{
			Grundton = 6;
		}

		if (document.form.Tonart[2].checked)		//G
		{
			Grundton = 7;
		}

		if (document.form.Tonart[3].checked)		//Gis
		{
			Grundton = 8;
		}

		if (document.form.Tonart[4].checked)		//A
		{
			Grundton = 9;
		}

		if (document.form.Tonart[5].checked)		//B
		{
			Grundton = 10;
		}

		if (document.form.Tonart[6].checked)		//H
		{
			Grundton = 11;
		}

		if (document.form.Tonart[7].checked)		//C
		{
			Grundton = 12;
		}


//-------wenn die Option Kreuztonarten gewählt ist dann so rechnen:

		if (document.form.verwechslung[0].checked)
		{

	//-----------Transposition 4. Reihe Druck ---------------------
	
		document.standard.r4_1_d.value = Gross[Grundton + 15];
		document.standard.r4_2_d.value = Gross[Grundton + 19];
		document.standard.r4_3_d.value = Gross[Grundton + 22];
		document.standard.r4_4_d.value = Gross[Grundton + 27];
		document.standard.r4_5_d.value = Gross[Grundton + 31];
		document.standard.r4_6_d.value = Gross[Grundton + 34];
		document.standard.r4_7_d.value = Gross[Grundton + 39];
		document.standard.r4_8_d.value = Gross[Grundton + 43];
		document.standard.r4_9_d.value = Gross[Grundton + 46];
		document.standard.r4_10_d.value = Gross[Grundton + 51];

	//-----------Transposition 4. Reihe Zug ---------------------
	
		document.standard.r4_1_z.value = Gross[Grundton + 20];
		document.standard.r4_2_z.value = Gross[Grundton + 22];
		document.standard.r4_3_z.value = Gross[Grundton + 26];
		document.standard.r4_4_z.value = Gross[Grundton + 29];
		document.standard.r4_5_z.value = Gross[Grundton + 32];
		document.standard.r4_6_z.value = Gross[Grundton + 34];
		document.standard.r4_7_z.value = Gross[Grundton + 38];
		document.standard.r4_8_z.value = Gross[Grundton + 41];
		document.standard.r4_9_z.value = Gross[Grundton + 44];
		document.standard.r4_10_z.value = Gross[Grundton + 48];

	//-----------Transposition 3. Reihe Druck ---------------------
	
		document.standard.r3_1_d.value = Gross[Grundton + 10];
		document.standard.r3_2_d.value = Gross[Grundton + 14];
		document.standard.r3_3_d.value = Gross[Grundton + 17];
		document.standard.r3_4_d.value = Gross[Grundton + 22];
		document.standard.r3_5_d.value = Gross[Grundton + 26];
		document.standard.r3_6_d.value = Gross[Grundton + 29];
		document.standard.r3_7_d.value = Gross[Grundton + 34];
		document.standard.r3_8_d.value = Gross[Grundton + 38];
		document.standard.r3_9_d.value = Gross[Grundton + 41];
		document.standard.r3_10_d.value = Gross[Grundton + 46];
		document.standard.r3_11_d.value = Gross[Grundton + 50];

	//-----------Transposition 3. Reihe Zug ---------------------
	
		document.standard.r3_1_z.value = Gross[Grundton + 15];
		document.standard.r3_2_z.value = Gross[Grundton + 17];
		document.standard.r3_3_z.value = Gross[Grundton + 21];
		document.standard.r3_4_z.value = Gross[Grundton + 24];
		document.standard.r3_5_z.value = Gross[Grundton + 27];
		document.standard.r3_6_z.value = Gross[Grundton + 29];
		document.standard.r3_7_z.value = Gross[Grundton + 33];
		document.standard.r3_8_z.value = Gross[Grundton + 36];
		document.standard.r3_9_z.value = Gross[Grundton + 39];
		document.standard.r3_10_z.value = Gross[Grundton + 43];
		document.standard.r3_11_z.value = Gross[Grundton + 45];

	//-----------Transposition 2. Reihe Druck ---------------------
	
		document.standard.r2_1_d.value = Gross[Grundton + 5];
		document.standard.r2_2_d.value = Gross[Grundton + 9];
		document.standard.r2_3_d.value = Gross[Grundton + 12];
		document.standard.r2_4_d.value = Gross[Grundton + 17];
		document.standard.r2_5_d.value = Gross[Grundton + 21];
		document.standard.r2_6_d.value = Gross[Grundton + 24];
		document.standard.r2_7_d.value = Gross[Grundton + 29];
		document.standard.r2_8_d.value = Gross[Grundton + 33];
		document.standard.r2_9_d.value = Gross[Grundton + 36];
		document.standard.r2_10_d.value = Gross[Grundton + 41];
		document.standard.r2_11_d.value = Gross[Grundton + 45];
		document.standard.r2_12_d.value = Gross[Grundton + 48];

	//-----------Transposition 2. Reihe Zug ---------------------
	
		document.standard.r2_1_z.value = Gross[Grundton + 10];
		document.standard.r2_2_z.value = Gross[Grundton + 12];
		document.standard.r2_3_z.value = Gross[Grundton + 16];
		document.standard.r2_4_z.value = Gross[Grundton + 19];
		document.standard.r2_5_z.value = Gross[Grundton + 22];
		document.standard.r2_6_z.value = Gross[Grundton + 24];
		document.standard.r2_7_z.value = Gross[Grundton + 28];
		document.standard.r2_8_z.value = Gross[Grundton + 31];
		document.standard.r2_9_z.value = Gross[Grundton + 34];
		document.standard.r2_10_z.value = Gross[Grundton + 38];
		document.standard.r2_11_z.value = Gross[Grundton + 40];
		document.standard.r2_12_z.value = Gross[Grundton + 43];

	//-----------Transposition 1. Reihe Druck ---------------------
	
		document.standard.r1_1_d.value = Gross[Grundton + 25];
		document.standard.r1_2_d.value = Gross[Grundton + 4];
		document.standard.r1_3_d.value = Gross[Grundton + 7];
		document.standard.r1_4_d.value = Gross[Grundton + 12];
		document.standard.r1_5_d.value = Gross[Grundton + 16];
		document.standard.r1_6_d.value = Gross[Grundton + 19];
		document.standard.r1_7_d.value = Gross[Grundton + 24];
		document.standard.r1_8_d.value = Gross[Grundton + 28];
		document.standard.r1_9_d.value = Gross[Grundton + 31];
		document.standard.r1_10_d.value = Gross[Grundton + 36];
		document.standard.r1_11_d.value = Gross[Grundton + 40];
		document.standard.r1_12_d.value = Gross[Grundton + 43];
		document.standard.r1_13_d.value = Gross[Grundton + 48];

	//-----------Transposition 1. Reihe Zug ---------------------
	
		document.standard.r1_1_z.value = Gross[Grundton + 30];
		document.standard.r1_2_z.value = Gross[Grundton + 7];
		document.standard.r1_3_z.value = Gross[Grundton + 11];
		document.standard.r1_4_z.value = Gross[Grundton + 14];
		document.standard.r1_5_z.value = Gross[Grundton + 17];
		document.standard.r1_6_z.value = Gross[Grundton + 21];
		document.standard.r1_7_z.value = Gross[Grundton + 23];
		document.standard.r1_8_z.value = Gross[Grundton + 26];
		document.standard.r1_9_z.value = Gross[Grundton + 29];
		document.standard.r1_10_z.value = Gross[Grundton + 33];
		document.standard.r1_11_z.value = Gross[Grundton + 35];
		document.standard.r1_12_z.value = Gross[Grundton + 38];
		document.standard.r1_13_z.value = Gross[Grundton + 41];
		}
		else
		{
		//-----------Transposition 4. Reihe Druck ---------------------
		
			document.standard.r4_1_d.value = B[Grundton + 15];
			document.standard.r4_2_d.value = B[Grundton + 19];
			document.standard.r4_3_d.value = B[Grundton + 22];
			document.standard.r4_4_d.value = B[Grundton + 27];
			document.standard.r4_5_d.value = B[Grundton + 31];
			document.standard.r4_6_d.value = B[Grundton + 34];
			document.standard.r4_7_d.value = B[Grundton + 39];
			document.standard.r4_8_d.value = B[Grundton + 43];
			document.standard.r4_9_d.value = B[Grundton + 46];
			document.standard.r4_10_d.value = B[Grundton + 51];

		//-----------Transposition 4. Reihe Zug ---------------------
		
			document.standard.r4_1_z.value = B[Grundton + 20];
			document.standard.r4_2_z.value = B[Grundton + 22];
			document.standard.r4_3_z.value = B[Grundton + 26];
			document.standard.r4_4_z.value = B[Grundton + 29];
			document.standard.r4_5_z.value = B[Grundton + 32];
			document.standard.r4_6_z.value = B[Grundton + 34];
			document.standard.r4_7_z.value = B[Grundton + 38];
			document.standard.r4_8_z.value = B[Grundton + 41];
			document.standard.r4_9_z.value = B[Grundton + 44];
			document.standard.r4_10_z.value = B[Grundton + 48];

		//-----------Transposition 3. Reihe Druck ---------------------
		
			document.standard.r3_1_d.value = B[Grundton + 10];
			document.standard.r3_2_d.value = B[Grundton + 14];
			document.standard.r3_3_d.value = B[Grundton + 17];
			document.standard.r3_4_d.value = B[Grundton + 22];
			document.standard.r3_5_d.value = B[Grundton + 26];
			document.standard.r3_6_d.value = B[Grundton + 29];
			document.standard.r3_7_d.value = B[Grundton + 34];
			document.standard.r3_8_d.value = B[Grundton + 38];
			document.standard.r3_9_d.value = B[Grundton + 41];
			document.standard.r3_10_d.value = B[Grundton + 46];
			document.standard.r3_11_d.value = B[Grundton + 50];

		//-----------Transposition 3. Reihe Zug ---------------------
		
			document.standard.r3_1_z.value = B[Grundton + 15];
			document.standard.r3_2_z.value = B[Grundton + 17];
			document.standard.r3_3_z.value = B[Grundton + 21];
			document.standard.r3_4_z.value = B[Grundton + 24];
			document.standard.r3_5_z.value = B[Grundton + 27];
			document.standard.r3_6_z.value = B[Grundton + 29];
			document.standard.r3_7_z.value = B[Grundton + 33];
			document.standard.r3_8_z.value = B[Grundton + 36];
			document.standard.r3_9_z.value = B[Grundton + 39];
			document.standard.r3_10_z.value = B[Grundton + 43];
			document.standard.r3_11_z.value = B[Grundton + 45];

		//-----------Transposition 2. Reihe Druck ---------------------
		
			document.standard.r2_1_d.value = B[Grundton + 5];
			document.standard.r2_2_d.value = B[Grundton + 9];
			document.standard.r2_3_d.value = B[Grundton + 12];
			document.standard.r2_4_d.value = B[Grundton + 17];
			document.standard.r2_5_d.value = B[Grundton + 21];
			document.standard.r2_6_d.value = B[Grundton + 24];
			document.standard.r2_7_d.value = B[Grundton + 29];
			document.standard.r2_8_d.value = B[Grundton + 33];
			document.standard.r2_9_d.value = B[Grundton + 36];
			document.standard.r2_10_d.value = B[Grundton + 41];
			document.standard.r2_11_d.value = B[Grundton + 45];
			document.standard.r2_12_d.value = B[Grundton + 48];

		//-----------Transposition 2. Reihe Zug ---------------------
		
			document.standard.r2_1_z.value = B[Grundton + 10];
			document.standard.r2_2_z.value = B[Grundton + 12];
			document.standard.r2_3_z.value = B[Grundton + 16];
			document.standard.r2_4_z.value = B[Grundton + 19];
			document.standard.r2_5_z.value = B[Grundton + 22];
			document.standard.r2_6_z.value = B[Grundton + 24];
			document.standard.r2_7_z.value = B[Grundton + 28];
			document.standard.r2_8_z.value = B[Grundton + 31];
			document.standard.r2_9_z.value = B[Grundton + 34];
			document.standard.r2_10_z.value = B[Grundton + 38];
			document.standard.r2_11_z.value = B[Grundton + 40];
			document.standard.r2_12_z.value = B[Grundton + 43];

		//-----------Transposition 1. Reihe Druck ---------------------
		
			document.standard.r1_1_d.value = B[Grundton + 25];
			document.standard.r1_2_d.value = B[Grundton + 4];
			document.standard.r1_3_d.value = B[Grundton + 7];
			document.standard.r1_4_d.value = B[Grundton + 12];
			document.standard.r1_5_d.value = B[Grundton + 16];
			document.standard.r1_6_d.value = B[Grundton + 19];
			document.standard.r1_7_d.value = B[Grundton + 24];
			document.standard.r1_8_d.value = B[Grundton + 28];
			document.standard.r1_9_d.value = B[Grundton + 31];
			document.standard.r1_10_d.value = B[Grundton + 36];
			document.standard.r1_11_d.value = B[Grundton + 40];
			document.standard.r1_12_d.value = B[Grundton + 43];
			document.standard.r1_13_d.value = B[Grundton + 48];

		//-----------Transposition 1. Reihe Zug ---------------------
		
			document.standard.r1_1_z.value = B[Grundton + 30];
			document.standard.r1_2_z.value = B[Grundton + 7];
			document.standard.r1_3_z.value = B[Grundton + 11];
			document.standard.r1_4_z.value = B[Grundton + 14];
			document.standard.r1_5_z.value = B[Grundton + 17];
			document.standard.r1_6_z.value = B[Grundton + 21];
			document.standard.r1_7_z.value = B[Grundton + 23];
			document.standard.r1_8_z.value = B[Grundton + 26];
			document.standard.r1_9_z.value = B[Grundton + 29];
			document.standard.r1_10_z.value = B[Grundton + 33];
			document.standard.r1_11_z.value = B[Grundton + 35];
			document.standard.r1_12_z.value = B[Grundton + 38];
			document.standard.r1_13_z.value = B[Grundton + 41];
		}
	}