	function Wechseln(punkt)
{
	

//das richtige Registerframe einsetzen:

		
		
		
		
	for (n=0; n <= 11; n++)
	 {
	 if (n==punkt) 
	 	{
	 	if(parent.frames[0].document.getElementById(n).style.visibility=="hidden")
	  	parent.frames[0].document.getElementById(n).style.visibility="visible";
	  	 }
	 else  
	 	{
		if (parent.frames[0].document.getElementById(n).style.visibility=="visible") 
		 parent.frames[0].document.getElementById(n).style.visibility="hidden";
	 	 }
	}
	
	SetFrameUnten();
}


function Setzen(punkt)
{	






	var rechtsframe=parent.frames[2].location.href;
	
	var adresse=parent.frames[3].location.href;

	

if (punkt==0)
	{
	//Christians _main.htm-Datei ausschliessen:
		
	//	if (rechtsframe.indexOf('_main.htm') != -1)  
	//	parent.frames[2].location.href="main.htm";
		
		//if (rechtsframe.indexOf('main.htm') == -1) 
		parent.frames[2].location.href="main.htm";
		
		
	}	
	
else if (punkt==1)
	{
		//if (rechtsframe.indexOf('termine.htm') == -1) 
		parent.frames[2].location.href="turn10/termine.htm";
	}	
	
else if (punkt==2)
	{
		//if (rechtsframe.indexOf('teams.htm') == -1) 
		parent.frames[2].location.href="turn10/teams.htm";
	}	
	
else if (punkt==3)
	{
		//if (rechtsframe.indexOf('ergebnis.htm') == -1) 
		parent.frames[2].location.href="turn10/termine.htm";

	}	
	
else if (punkt==4)
	{
		//if (rechtsframe.indexOf('aufgaben.htm') == -1) 
		parent.frames[2].location.href="aufgaben.htm";

	}	
	
else if (punkt==5)
	{
		//if (rechtsframe.indexOf('kontakt.htm') == -1) 
		parent.frames[2].location.href="kontakt.htm";

	}	
	
else if (punkt==6)
	{
		//if (rechtsframe.indexOf('familie.htm') == -1) 
		parent.frames[2].location.href="familie.htm";
	}	
	
	else if (punkt==7)
	{
		//if (rechtsframe.indexOf('teamles.htm') == -1) 
		parent.frames[2].location.href="teamles.htm";
	}	
	
	else if (punkt==8)
	{
		//if (rechtsframe.indexOf('wort.htm') == -1) 
		parent.frames[2].location.href="wort.htm";
	}	
	
	else if (punkt==9)
	{
		//if (rechtsframe.indexOf('impres.htm') == -1) 
		parent.frames[2].location.href="impres.htm";
	}	
	
	else if (punkt==10)
	{
	//	if (rechtsframe.indexOf('link.htm') == -1) 
		parent.frames[2].location.href="link.htm";
	}	
	
	else if (punkt==11)
	{	
		//if (rechtsframe.indexOf('archiv.htm') == -1) 
		parent.frames[2].location.href="archiv.htm";
	}	
	
	SetFrameUnten();
}

function SetFrameUnten()
{

//das Frame unten mit oder ohne Knoepfe bestuecken
	var adresse=parent.frames[3].location.href;
	var framerechts=parent.frames[2].location.href;
	
	

	if (framerechts.indexOf('main.htm') == -1)
			{ 
			if (adresse.indexOf('rights') == -1)
			parent.frames[3].location.replace("/rights.htm");
			//parent.frames[3].location.href='/rights.htm';
			}
		// der Slash sorgt dafuer, dass die Datei im Root gesucht wird
		

	
	
	
	else
	
			
			{
		
			if (adresse.indexOf('leer') == -1)
				{
				
				//parent.frames[3].location.href='/leer.htm';
				
				parent.frames[3].location.replace("/leer.htm");
				}
			}	
		





}


function Knopf()
	{
	var adresse=parent.frames[3].location.href;
	if (adresse.indexOf('rights') == -1) parent.frames[3].location.href='rights.htm';
	}	