function sprache(lan)
{
	pfad = parent.frames[6].location.href
	gelaenge = pfad.length
	start = pfad.lastIndexOf("/")+1
	ende1 = pfad.lastIndexOf("?")
	if(ende1>=0)
	{
		pfad1 = pfad.substring(0,ende1)
	}
	else
	{
		pfad1 = pfad
	}
	ende = pfad1.lastIndexOf(".") - 3
	typ = pfad.substring(ende+3,gelaenge)
	kurz = pfad.substring(start,ende+1)
	laenge = ende - start
	Ist = pfad.substr(ende,1)
	if(Ist=="_")
	{
		main = kurz + lan + typ
   	parent.frames[6].location.href = main
	}
	ecke = "ecke_" + lan + ".htm"
	inh = "inhalt_" + lan + ".php"
   parent.frames[1].location.href = inh
   parent.frames[0].location.href = ecke
}